Crate named_entity_parsing

Source

Structs§

Entities
Entites are the unique tokens contained in a sequence. Entities can be built with the TryFromVec trait. This trait allows to collect from a vec
Entity
An entity represent a named objet in named entity recognition (NER). It contains a start and an end(i.e. at what index of the list does it starts and ends) and a tag, which the associated entity (such as LOC, NAME, PER, etc.). It is important to note that the end field differ from the value used in SeqEval when strict = false.

Enums§

ConversionError
Enum of errors wrapping the actual error structs.
NamedEntityError
SchemeType
Enumeration of the supported Schemes. They are used to indicate how we are supposed to parse and chunk the different tokens.

Functions§

get_entities_lenient
Leniently retrieves the entities from a sequence.
get_entities_strict