VectorLinux

The Vectorian Lounge => The Lounge => Topic started by: Triarius Fidelis on June 20, 2007, 11:44:56 am

Title: accuracy of swedish noun declension code
Post by: Triarius Fidelis on June 20, 2007, 11:44:56 am
Can anyone have a look through this algorithm and see if it's right? I'm not sure if anyone can read it but worth a shot.

backend.py (noun code)
http://paste.lisp.org/display/43119

data.yaml (noun data)
http://paste.lisp.org/display/43123

I'm not sure whether -er, -el, -en remove the 'e' only for -ar, -or, and -er plural forms.

Here's a screenshot (http://img502.imageshack.us/img502/1650/setutorbc6.png), BTW.