Skip to content

Experimenting with problems in NLP (English gerund formation using an FST, sentence generation, parsing and context free grammars)

Notifications You must be signed in to change notification settings

adamhp/nlpExercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlpExercises

Experimenting with problems in NLP (English gerund formation using an FST, sentence generation, parsing and context free grammars)

verb-morphology

Using a Finite State Transducer, derive the correct American English gerundative form for a subset of 360 verbs. Within the 360verbs.txt list, all verb stems are at least three letters long.

The -ing form consists of producing + ing for most cases, however there are three other primary cases that must be handled:

    1. Drop word-final -e if it is preceded by a consonant or by a u (e.g. arguing, making)
    1. Drop word-final -ie and add -y (e.g. tying)
    1. Double -n, -p, -t, -r when it is immediately preceded by a vowel (e.g. putting, running).

About

Experimenting with problems in NLP (English gerund formation using an FST, sentence generation, parsing and context free grammars)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%