[][src]Struct fasttext::Args

pub struct Args { /* fields omitted */ }

Methods

impl Args[src]

pub fn new() -> Self[src]

pub fn parse<T: AsRef<str>>(self, args: &[T])[src]

pub fn input(&self) -> Cow<str>[src]

pub fn set_input(&mut self, input: &str)[src]

pub fn output(&self) -> Cow<str>[src]

pub fn set_output(&mut self, input: &str)[src]

pub fn lr(&self) -> f64[src]

pub fn set_lr(&mut self, lr: f64)[src]

pub fn lr_update_rate(&self) -> i32[src]

pub fn set_lr_update_rate(&mut self, rate: i32)[src]

pub fn dim(&self) -> i32[src]

pub fn set_dim(&mut self, dim: i32)[src]

pub fn ws(&self) -> i32[src]

pub fn set_ws(&mut self, ws: i32)[src]

pub fn epoch(&self) -> i32[src]

pub fn set_epoch(&mut self, epoch: i32)[src]

pub fn thread(&self) -> i32[src]

pub fn set_thread(&mut self, thread: i32)[src]

pub fn model(&self) -> ModelName[src]

pub fn set_model(&mut self, model: ModelName)[src]

pub fn loss(&self) -> LossName[src]

pub fn set_loss(&mut self, loss: LossName)[src]

pub fn min_count(&self) -> i32[src]

pub fn set_min_count(&mut self, min_count: i32)[src]

pub fn min_count_label(&self) -> i32[src]

pub fn set_min_count_label(&mut self, min_count: i32)[src]

pub fn neg(&self) -> i32[src]

pub fn set_neg(&mut self, neg: i32)[src]

pub fn word_ngrams(&self) -> i32[src]

pub fn set_word_ngrams(&mut self, ngrams: i32)[src]

pub fn bucket(&self) -> i32[src]

pub fn set_bucket(&mut self, bucket: i32)[src]

pub fn minn(&self) -> i32[src]

pub fn set_minn(&mut self, minn: i32)[src]

pub fn maxn(&self) -> i32[src]

pub fn set_maxn(&mut self, maxn: i32)[src]

pub fn t(&self) -> i32[src]

pub fn set_t(&mut self, t: i32)[src]

pub fn verbose(&self) -> i32[src]

pub fn set_verbose(&mut self, verbose: i32)[src]

pub fn label(&self) -> Cow<str>[src]

pub fn set_label(&mut self, label: &str)[src]

pub fn save_output(&self) -> bool[src]

pub fn set_save_output(&mut self, save_output: bool)[src]

pub fn qout(&self) -> bool[src]

pub fn set_qout(&mut self, qout: bool)[src]

pub fn retrain(&self) -> bool[src]

pub fn set_retrain(&mut self, retrain: bool)[src]

pub fn qnorm(&self) -> bool[src]

pub fn set_qnorm(&mut self, qnorm: bool)[src]

pub fn cutoff(&self) -> usize[src]

pub fn set_cutoff(&mut self, cutoff: usize)[src]

pub fn dsub(&self) -> usize[src]

pub fn set_dsub(&mut self, dsub: usize)[src]

pub fn print_help(&self)[src]

pub fn print_basic_help(&self)[src]

pub fn print_dictionary_help(&self)[src]

pub fn print_training_help(&self)[src]

pub fn print_quantization_help(&self)[src]

Trait Implementations

impl Default for Args[src]

impl Clone for Args[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Args[src]

impl Debug for Args[src]

Auto Trait Implementations

impl !Send for Args

impl !Sync for Args

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.