Crate harper_pos_utils

Crate harper_pos_utils 

Source

Structs§

BrillChunker
A Chunker implementation based on the work by Eric Brill.
BrillTagger
A Tagger implementation based on the work by Eric Brill.
BurnChunker
A Chunker that uses a BiLSTM and the Burn machine learning framework.
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

Enums§

UPOS
Represents the universal parts of speech as outlined by universaldependencies.org.

Traits§

Chunker
An implementer of this trait is capable of identifying the noun phrases in a provided sentence. See here for more details on what this is and how it can work.
Tagger
An implementer of this trait is capable of assigned Part-of-Speech tags to a provided sentence. This is widely useful for various applications. See here.

Type Aliases§

BurnChunkerCpu