more useful options | |
PerlMonks |
Re: Re: Implication is not enoughby PetaMem (Priest) |
on Jul 30, 2001 at 17:21 UTC ( [id://100853]=note: print w/replies, xml ) | Need Help?? |
Hi,
That way, you stil have *only* implication but changed
If the word you get to test would be "Ägypterinen", you
Ok. Where am I going with this? Well - theres no correct
The task is easy. Given 3 german words. Ägypter, Ägypterin, Ägypterinen Write a routine that takes a list of 3 Arguments: word, genus, numerus. and returns a list of 3 elements: word, genus, numerus where "word" is the word that was given to the routine after applying genus and numerus to it. genus and numerus are the genus and numerus the word HAD BEFORE applying the new genus and numerus to it.Like so: The TRY_RULE part is it. I just want to apply rules 2 rules = 4 IFs, 3 rules = 8 IFs, 10 rules = forget it. Prolog would be nice, but I want stick with perl for that. Ciao
In Section
Meditations
|
|