pub enum DatasetSchema {
CoNLL2003,
OntoNotes,
MultiNERD,
FewNERD,
CrossNER,
BC5CDR,
NCBIDisease,
MITMovie,
MITRestaurant,
WNUT17,
}Expand description
Known dataset schemas for automatic mapping.
Variants§
CoNLL2003
CoNLL-2003: PER, LOC, ORG, MISC
OntoNotes
OntoNotes 5.0: 18 types including GPE, NORP, FAC
MultiNERD
MultiNERD: 15 types
FewNERD
FewNERD: 8 coarse + 66 fine types
CrossNER
CrossNER: Domain-specific types
BC5CDR
BC5CDR: Chemical, Disease
NCBIDisease
NCBI Disease: Disease only
MITMovie
MIT Movie: Actor, Director, Title, etc.
MITRestaurant
MIT Restaurant: Restaurant_Name, Cuisine, etc.
WNUT17
WNUT-17: person, location, corporation, product, creative-work, group
Implementations§
Trait Implementations§
Source§impl Clone for DatasetSchema
impl Clone for DatasetSchema
Source§fn clone(&self) -> DatasetSchema
fn clone(&self) -> DatasetSchema
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 DatasetSchema
impl Debug for DatasetSchema
Source§impl Hash for DatasetSchema
impl Hash for DatasetSchema
Source§impl PartialEq for DatasetSchema
impl PartialEq for DatasetSchema
impl Copy for DatasetSchema
impl Eq for DatasetSchema
impl StructuralPartialEq for DatasetSchema
Auto Trait Implementations§
impl Freeze for DatasetSchema
impl RefUnwindSafe for DatasetSchema
impl Send for DatasetSchema
impl Sync for DatasetSchema
impl Unpin for DatasetSchema
impl UnsafeUnpin for DatasetSchema
impl UnwindSafe for DatasetSchema
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
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
Compare self to
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>
Converts
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>
Converts
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