Crate harper_pos_utils
Source - BrillChunker
- BrillTagger
- BurnChunker
- CachedChunker
- Wraps any chunker implementation to add an LRU Cache.
Useful for incremental lints.
- FreqDict
- A mapping between words (normalized to lowercase) and their most common UPOS tag.
Can be used as a minimally accurate
Tagger
. - FreqDictBuilder
- A mapping between words and the frequency of each UPOS.
If an element is missing from the map, it’s count is assumed to be zero.
- UPOSFreqDict
- Tracks the number of times any given UPOS is associated with a noun phrase.
Used as the baseline for the chunker.
- UPOSIter
- An iterator over the variants of UPOS
- UPOS
- Represents the universal parts of speech as outlined by universaldependencies.org.
- Chunker
- An implementer of this trait is capable of identifying the noun phrases in a provided sentence.
- Tagger
- An implementer of this trait is capable of assigned Part-of-Speech tags to a provided sentence.
- BurnChunkerCpu