VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: accuracy of swedish noun declension code  (Read 1766 times)

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
accuracy of swedish noun declension code
« 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, BTW.
« Last Edit: June 20, 2007, 11:48:08 am by hanumizzle »
Logged
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months