Skip to main content

anno_core/
lib.rs

1#![warn(missing_docs)]
2
3//! `anno-core` contains the stable data model and invariants for `anno`.
4//!
5//! This crate intentionally avoids CLI and evaluation dependencies.
6
7pub mod coalesce;
8pub mod core;
9pub mod minimal;
10
11pub use crate::core::{
12    generate_span_candidates, Animacy, Confidence, CorefChain, CorefDocument, CoreferenceResolver,
13    Corpus, DiscontinuousSpan, Entity, EntityBuilder, EntityCategory, EntityType, ExtractionMethod,
14    Gender, GroundedDocument, HashMapLexicon, HierarchicalConfidence, Identity, IdentityId,
15    IdentitySource, Lexicon, Location, Mention, MentionType, Modality, Number, Person, PhiFeatures,
16    Provenance, Quantifier, RaggedBatch, Relation, Signal, SignalId, SignalRef, Span,
17    SpanCandidate, Track, TrackId, TrackRef, TrackStats, TypeLabel, TypeMapper, ValidationIssue,
18};
19
20pub use crate::core::types::{ByteOffset, CharOffset};
21
22pub use crate::core::types::CanonicalId;