INNER CODE UNIT · Rust

from

bminixhofer/nlprule · python/src/lib.rs:109

    fn from(tagger: Arc<Tagger>) -> Self {
        PyTagger { tagger }
    }
}

#[pymethods]
impl PyTagger {
    /// Get the data for a given word from the dictionary.
    ///
    /// Arguments:
    ///     word (str): The input word.
    ///     add_lower (Optional[bool]):
    ///         Whether to add data for the lowercase variant of the word.
    ///         If unset, will be set according to the language options.
    ///     use_compound_split_heuristic (Optional[bool]):
    ///         Whether to use a heuristic to split compound words.
    ///         If unset, will be set according to the language options.
    /// Returns:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…