Skip to content

t-cool/cl-lemma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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