pub struct TrackStats {
pub chain_length: usize,
pub variation_count: usize,
pub variations: Vec<String>,
pub spread: usize,
pub relative_spread: f64,
pub first_position: usize,
pub last_position: usize,
pub min_confidence: f32,
pub max_confidence: f32,
pub mean_confidence: f32,
pub has_embedding: bool,
}Expand description
Aggregate statistics for a track (coreference chain).
Fields§
§chain_length: usizeNumber of mentions in the track.
variation_count: usizeNumber of unique surface form variations.
variations: Vec<String>All surface form variations.
spread: usizeSpread in characters (first to last mention).
relative_spread: f64Spread as fraction of document length.
first_position: usizePosition of first mention.
last_position: usizePosition of last mention.
min_confidence: f32Minimum confidence across mentions.
max_confidence: f32Maximum confidence across mentions.
mean_confidence: f32Mean confidence across mentions.
has_embedding: boolWhether this track has an embedding.
Trait Implementations§
Source§impl Clone for TrackStats
impl Clone for TrackStats
Source§fn clone(&self) -> TrackStats
fn clone(&self) -> TrackStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackStats
impl Debug for TrackStats
Source§impl<'de> Deserialize<'de> for TrackStats
impl<'de> Deserialize<'de> for TrackStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrackStats
impl PartialEq for TrackStats
Source§impl Serialize for TrackStats
impl Serialize for TrackStats
impl StructuralPartialEq for TrackStats
Auto Trait Implementations§
impl Freeze for TrackStats
impl RefUnwindSafe for TrackStats
impl Send for TrackStats
impl Sync for TrackStats
impl Unpin for TrackStats
impl UnsafeUnpin for TrackStats
impl UnwindSafe for TrackStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more