keyphrase GitHub

Languages

You pass the language code.

LanguagePackageCodeBundle
Englishlang/enen3.4 MB
Frenchlang/frfr3.8 MB
Germanlang/dede5.2 MB
Spanishlang/eses4.7 MB
Italianlang/itit2.5 MB
Portugueselang/ptpt3.5 MB

A blank import registers the language, so import only the packages you need. The bundle column is the gzipped part-of-speech model and rarity table for that language.

Tagging keeps verbs out of phrases. Each language has its own model, and a word counts as a verb only when the tagger marks it as a verb in at least half of its occurrences in the document, so one wrong label does not override the rest.

Italian was trained on less data than the others and is the weakest of the six; see How it works.