All Projects → t-cool → cl-lemma

t-cool / cl-lemma

Licence: other
English lemmatizer in Common Lisp

Programming Languages

common lisp
692 projects

cl-lemma

English lemmatizer in Common Lisp

Installation

$ ros install t-cool/cl-lemma

Usage

You can lemmalize a word by (cl-lemma:lemma <word> <pos> ).

* (cl-lemma:lemma "leaves" :noun)
"leaf"
* (cl-lemma:lemma "leaves" :verb)
"leave"

If you ommit a pos, cl-lemma will look up a lemma in the following order: Noun, Verb, Adjective, and Adverb.

* (cl-lemma:lemma "leaves")
"leaf"
* (cl-lemma:lemma "better")
"good"

Roswell Script

If you add ~/.roswell/bin to PATH, you can use lemma command.

$ lemma leaves verb
leave
$ lemma leave
leaf

Author

t-cool

This project is ported from yohasebe/lemmatizer.

License

Licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].