Skip to content

t-cool/cl-lemma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e93f73d · May 24, 2019

History

37 Commits
May 17, 2019
May 17, 2019
May 23, 2019
May 23, 2019
May 1, 2019
May 24, 2019
May 23, 2019

Repository files navigation

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.

About

English lemmatizer in Common Lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published