Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Constructive criticism of a dictionary / text comparison script

by allolex (Curate)
on Aug 30, 2003 at 06:35 UTC ( #287882=note: print w/replies, xml ) Need Help??


in reply to Re: Constructive criticism of a dictionary / text comparison script
in thread Constructive criticism of a dictionary / text comparison script

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

my %hash_of_verb_suffixes = ( future => qw([ei]rò [ei]rai [ei]rà [ei]remo [ei]rete [ei]ranno), conditional => qw([ei]rei [ei]resti [ei]rebbe [ei]remmo [ei]reste [ +ei]rebbero) )

and so on.

Oh, wait. That's a POS tagger;)

In any case, I can see we think along similar lines. Thanks!

--
Allolex

  • Comment on Re: Re: Constructive criticism of a dictionary / text comparison script
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://287882]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-07-12 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?