Struct chinese_ner::NERTrainer [−][src]
pub struct NERTrainer { /* fields omitted */ }
Methods
impl NERTrainer
[src]
impl NERTrainer
pub fn new(output_path: &str) -> Self
[src]
pub fn new(output_path: &str) -> Self
pub fn train<T: AsRef<Path>>(&mut self, dataset_path: T) -> Result<(), Error>
[src]
pub fn train<T: AsRef<Path>>(&mut self, dataset_path: T) -> Result<(), Error>
Auto Trait Implementations
impl !Send for NERTrainer
impl !Send for NERTrainer
impl !Sync for NERTrainer
impl !Sync for NERTrainer