[antlr-interest] True natural language lexical analysis by ANTLR?
Hasan Mushtaq
hasan_mushtaq at yahoo.com
Thu Apr 21 07:42:57 PDT 2005
Hi there,
I have a very im^portant question. I am required to do lexical anaysis
of a text. That is i am provided with two files, one contains large text(from an article)
and the other contains the keywords that i need to find in the article.
example:
if keyword = method // present in the keyword file
then i have to find all varriants of this keyword that are present in the text
i.e.
i have to find methods, methodology, methodologies, method...
that is all with the same roots. Also the other way around that is if the
keyword is ionization then i need to find ionize, inonizing..etc
I have gone through the tutorials getting an idea of how ANTLR works but i could'nt
find out if my purpose could be acheived by ANTLR or not. Please let me know if this is
possible by ANTLR. If it is where would i get all the grammer from.
2- Now let me make this a little more complex I have to also find multiple words
like basic set = basics settings etc
3- a little more I have to also find the synonyms.. i.e.
if keyword= road
then find highway, street, etc
parts 2 and 3 are not important right now. please let me know if the first part is
possible or not and if yes how ong would it take and where should i start. Any help would be greatly apprecited.
Best Regards
Hasan Mushtaq
Paris - France
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050421/ae3e9cab/attachment.html
More information about the antlr-interest
mailing list