pub enum EventCorefRelation {
Identity,
ConceptInstance,
WholeSubevent,
SetMember,
TopicallyRelated,
NotRelated,
CannotDecide,
}Expand description
Event coreference relation types from RECB (Zhao et al., 2025).
RECB extends binary coref with fine-grained near-identity relations, enabling richer annotation and evaluation of event coreference.
Variants§
Identity
Full identity: events are the same event instance
ConceptInstance
Concept-instance: one is a general event, one is a specific instance E.g., “protests” vs “the March 15th protest”
WholeSubevent
Whole-subevent: one event contains the other E.g., “the war” vs “the Battle of Gettysburg”
SetMember
Set-member: one event is part of a set described by the other E.g., “the attacks” vs “the September 11 attack”
TopicallyRelated
Topically related but not coreferent
NotRelated
Not related
CannotDecide
Cannot decide (annotation guideline escape)
Implementations§
Source§impl EventCorefRelation
impl EventCorefRelation
Sourcepub fn is_positive(&self) -> bool
pub fn is_positive(&self) -> bool
Is this a positive coreference relation?
Returns true for Identity, ConceptInstance, WholeSubevent, SetMember.
Sourcepub fn to_binary(&self) -> bool
pub fn to_binary(&self) -> bool
Convert to standard binary coreference label.
Only Identity maps to true; all others to false.
Sourcepub fn to_strict_binary(&self) -> bool
pub fn to_strict_binary(&self) -> bool
Convert to strict binary with near-identity.
Maps Identity, ConceptInstance, WholeSubevent, SetMember to true.
Trait Implementations§
Source§impl Clone for EventCorefRelation
impl Clone for EventCorefRelation
Source§fn clone(&self) -> EventCorefRelation
fn clone(&self) -> EventCorefRelation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventCorefRelation
impl Debug for EventCorefRelation
Source§impl Hash for EventCorefRelation
impl Hash for EventCorefRelation
Source§impl PartialEq for EventCorefRelation
impl PartialEq for EventCorefRelation
impl Copy for EventCorefRelation
impl Eq for EventCorefRelation
impl StructuralPartialEq for EventCorefRelation
Auto Trait Implementations§
impl Freeze for EventCorefRelation
impl RefUnwindSafe for EventCorefRelation
impl Send for EventCorefRelation
impl Sync for EventCorefRelation
impl Unpin for EventCorefRelation
impl UnsafeUnpin for EventCorefRelation
impl UnwindSafe for EventCorefRelation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more