Struct chinese_ner::ChineseNER
[−]
[src]
pub struct ChineseNER { /* fields omitted */ }
Methods
impl ChineseNER
[src]
pub fn new() -> Self
[src]
pub fn from_model(model_path: &str) -> Self
[src]
pub fn predict<'a>(&'a self, sentence: &'a str) -> NamedEntity<'a>
[src]
Trait Implementations
impl Debug for ChineseNER
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for ChineseNER
[src]
fn default() -> ChineseNER
[src]
Returns the "default value" for a type. Read more