Struct bosonnlp::NamedEntity
source · pub struct NamedEntity {
pub entity: Vec<(usize, usize, String)>,
pub tag: Vec<String>,
pub word: Vec<String>,
}
Expand description
命名实体
Fields
entity: Vec<(usize, usize, String)>
命名实体结果
tag: Vec<String>
词性标注结果
word: Vec<String>
分词结果
Trait Implementations
sourceimpl Clone for NamedEntity
impl Clone for NamedEntity
sourcefn clone(&self) -> NamedEntity
fn clone(&self) -> NamedEntity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NamedEntity
impl Debug for NamedEntity
sourceimpl<'de> Deserialize<'de> for NamedEntity
impl<'de> Deserialize<'de> for NamedEntity
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for NamedEntity
impl Send for NamedEntity
impl Sync for NamedEntity
impl Unpin for NamedEntity
impl UnwindSafe for NamedEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more