pub enum CorefMethod {
Pronoun,
Abbreviation,
DefiniteArticle,
Possessive,
}Expand description
Method used to resolve a coreference.
Variants§
Pronoun
Pronoun resolution (only one entity of matching type in recent context).
Abbreviation
Abbreviation (initials match entity name).
DefiniteArticle
Definite article (“the company” → most recent ORG).
Possessive
Possessive (“Rahul’s” → PERSON who is “Rahul”).
Trait Implementations§
Source§impl Clone for CorefMethod
impl Clone for CorefMethod
Source§fn clone(&self) -> CorefMethod
fn clone(&self) -> CorefMethod
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 CorefMethod
impl Debug for CorefMethod
Auto Trait Implementations§
impl Freeze for CorefMethod
impl RefUnwindSafe for CorefMethod
impl Send for CorefMethod
impl Sync for CorefMethod
impl Unpin for CorefMethod
impl UnsafeUnpin for CorefMethod
impl UnwindSafe for CorefMethod
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