Language-specific resources, injected by the caller. Providing none leaves the language-specific measures unavailable (with explicit warnings) — the semantic measure still works for any language.
Optional
Maps a lowercased word to an inflection category for morphological diversity.
Closed-class words (prepositions, conjunctions, ...) for syntactic diversity.
Language-specific resources, injected by the caller. Providing none leaves the language-specific measures unavailable (with explicit warnings) — the semantic measure still works for any language.