good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Constructive criticism of a dictionary / text comparison scriptby allolex (Curate) |
on Aug 30, 2003 at 06:35 UTC ( [id://287882]=note: print w/replies, xml ) | Need Help?? |
I really like your idea and it would work very well if I were dealing with texts languages that all had a stemming module. I am seriously considering writing one for French. Currently, I am working with Italian, which does have Lingua::Stem::It, but my dictionary has word forms as well. The huge advantage of working with a stemmer is that it is also capable of stemming novel constructions (like stemage), which the dictionary does not account for. It would be a very interesting modification to create a dictionary of stem forms, but it would also be a lot more work checking its accuracy. What would really be cool is a stemming module that defined all affixes via a hash of some kind, so that tense, mode/mood, plural, person, etc. could be looked up like
and so on. Oh, wait. That's a POS tagger;) In any case, I can see we think along similar lines. Thanks!
--
In Section
Seekers of Perl Wisdom
|
|