Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Textual analysis
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-13-2011, 05:00 AM
88jayto's Avatar
Forum Addict
 
Join Date: Oct 2008
Posts: 505
Default Textual analysis

I am trying to make a program that can read a question by understanding the type of question, the verb, noun, adjective and tense. This is my summer project... The problem is, I am not really sure here to begin. I am having trouble finding any topics that can help me with this. I read about lexical analysis, and that's the only thing that I can find that seems like it would have any relevance to what i want to do. I just want some one to point me in the right direction. Anyone have any ideas?
__________________


http://www.youtube.com/watch?v=Cj6ho1-G6tw - Inspiration
http://www.youtube.com/watch?v=Vo0Cazxj_yc - People ARE awsome

I HAVE 13 VOUCHES All for trading account

Last edited by 88jayto : 05-13-2011 at 05:00 AM.
Reply With Quote
  #2  
Old 05-28-2011, 06:24 PM
Guru
 
Join Date: Jan 2007
Location: /home/Canada
Posts: 1,768
Default Re: Textual analysis

You'll probably want to make use of some existing toolkit as writing everything from scratch is very time consuming and far less effective (unless your goal is really to learn the core natural language processing concepts).

From the list of such toolkits below I would say that FreeLing is probably the preferred one for you as it seems to have the lowest entry barrier among free C++ choices. If you would reconsider going with Java or Python there are many other toolkits that are easier to learn and even some nice beginner books and tutorials.

http://en.wikipedia.org/wiki/List_of...ssing_toolkits
Reply With Quote
  #3  
Old 05-30-2011, 09:10 AM
Apprentice
BANNED
 
Join Date: Mar 2011
Location: Mars
Posts: 636
Send a message via MSN to Drunk Dragon Send a message via Skype™ to Drunk Dragon
Default Re: Textual analysis

Thanks Null, had exactly the same questions.

~ DD
Reply With Quote
  #4  
Old 06-12-2011, 06:44 PM
88jayto's Avatar
Forum Addict
 
Join Date: Oct 2008
Posts: 505
Default Re: Textual analysis

Thanks, but like you said I am trying to learn as much about c++ and programming concepts as I can. So far what I am trying to do is break down sentences and put each word in a class so I can give words properties (tenses,singual,plural ect...). After that I will put each word item into a linked list for accessibility...
__________________


http://www.youtube.com/watch?v=Cj6ho1-G6tw - Inspiration
http://www.youtube.com/watch?v=Vo0Cazxj_yc - People ARE awsome

I HAVE 13 VOUCHES All for trading account

Last edited by 88jayto : 06-12-2011 at 06:45 PM.
Reply With Quote
  #5  
Old 06-12-2011, 09:18 PM
Guru
 
Join Date: Jul 2005
Posts: 1,355
Send a message via MSN to wackywamba
Default Re: Textual analysis

Why are you using a linked list? I'm not sure I'm following how you're approaching this, but if you plan on individually analyzing each word against a preset dictionary of sorts it would be better to use a graph structure.

If you're storing it and comparing it in some other way, you'd be better of using a hash table unless you've got a predefined (and small) data size.

Could you perhaps update us with progress you've made so far and some pseudo code?
__________________
Reply With Quote
  #6  
Old 06-12-2011, 11:47 PM
88jayto's Avatar
Forum Addict
 
Join Date: Oct 2008
Posts: 505
Default Re: Textual analysis

I am still fairly new to C++ and have not done any past programming. I ran a search on graph structures and I do not really understand them. I get hash tables alittle more but I do not understand how address are assigned.

Ok so far I have this.
A class called sentence and it consists of nodes of class Wnodes.
Wnodes consist of a word and a pointer to the next word as it would come in the sentence.
Words have their own class called Word and each word has properties mentioned in my last post.
I still need to find a way to determine and set the properties for each word but that will come after I have everything above set up and working.

What I said above seems a little confusing so I understand if you don't get it. So far, however, from what I understand about C++ a linked list seems like the best way to arrange the words. If you know of a better way please let me know.
__________________


http://www.youtube.com/watch?v=Cj6ho1-G6tw - Inspiration
http://www.youtube.com/watch?v=Vo0Cazxj_yc - People ARE awsome

I HAVE 13 VOUCHES All for trading account

Last edited by 88jayto : 06-13-2011 at 01:53 AM.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 07:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1