Struct crfsuite::Model [−][src]
pub struct Model(_);
The model
Methods
impl Model
[src]
impl Model
pub fn from_file(name: &str) -> Result<Self>
[src]
pub fn from_file(name: &str) -> Result<Self>
Open a model file
pub fn from_memory(bytes: &[u8]) -> Result<Self>
[src]
pub fn from_memory(bytes: &[u8]) -> Result<Self>
Create an instance of a model object from a model in memory
pub fn tagger(&self) -> Result<Tagger>
[src]
pub fn tagger(&self) -> Result<Tagger>
pub fn dump(&self, fd: RawFd) -> Result<()>
[src]
pub fn dump(&self, fd: RawFd) -> Result<()>
pub fn dump_file<T: AsRef<Path>>(&self, path: T) -> Result<()>
[src]
pub fn dump_file<T: AsRef<Path>>(&self, path: T) -> Result<()>