0.1.2 • Published 9 years ago

moby-pos v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

About the project

This is an npm module for accessing the moby parts-of-speech package. Moby is an open source project with many linguistic databases (all public domain). You can access more about their project by visiting the following URL: http://icon.shef.ac.uk/Moby/

Using moby-pos

This npm module aims to be pretty simple to use. It has a single method which you can call to look up the parts of speech information for a given word.

var pos = require('moby-pos');
console.log(pos.search("skeleton"));

Reading the output

The output of the above code should be N. That stands for Noun. The complete list of meanings can be found below.

MeaningLetter
NounN
PluralP
Noun Phraseh
Verb (usu participle)V
Verb (transitive)t
Verb (intransitive)i
AdjectiveA
Adverbv
ConjunctionC
PrepositionP
Interjection!
Pronounr
Definite ArticleD
Indefinite ArticleI
Nominativeo