Struct jpreprocess_njd::NJDNode
source · pub struct NJDNode { /* private fields */ }Implementations§
source§impl NJDNode
impl NJDNode
pub fn new_single(s: &str) -> Self
pub fn load_csv(s: &str) -> Vec<Self>
pub fn load_str(string: &str, details: &[&str]) -> Vec<Self>
pub fn load(string: &str, entry: WordEntry) -> Vec<Self>
pub fn transfer_from(&mut self, node: &mut Self)
pub fn get_chain_flag(&self) -> Option<bool>
pub fn set_chain_flag(&mut self, chain_flag: bool)
pub fn get_chain_rule(&self, pos: &POS) -> Option<&ChainRule>
pub fn unset_chain_rule(&mut self)
pub fn get_pos(&self) -> &POS
pub fn get_pos_mut(&mut self) -> &mut POS
pub fn is_renyou(&self) -> bool
pub fn get_ctype(&self) -> &CType
pub fn get_cform(&self) -> &CForm
pub fn get_string(&self) -> &str
pub fn replace_string(&mut self, new_string: &str)
pub fn ensure_orig(&mut self)
pub fn get_read(&self) -> Option<&str>
pub fn set_read(&mut self, read: &str)
pub fn unset_read(&mut self)
pub fn get_acc(&self) -> i32
pub fn set_acc(&mut self, acc: i32)
pub fn get_mora_size(&self) -> i32
pub fn set_mora_size(&mut self, mora_size: i32)
pub fn add_mora_size(&mut self, mora_size: i32)
pub fn set_pron_by_str(&mut self, pron: &str)
pub fn get_pron(&self) -> &Pronunciation
pub fn get_pron_mut(&mut self) -> &mut Pronunciation
pub fn set_pron(&mut self, pron: Pronunciation)
pub fn unset_pron(&mut self)
Trait Implementations§
source§impl PartialEq<NJDNode> for NJDNode
impl PartialEq<NJDNode> for NJDNode
impl StructuralPartialEq for NJDNode
Auto Trait Implementations§
impl RefUnwindSafe for NJDNode
impl Send for NJDNode
impl Sync for NJDNode
impl Unpin for NJDNode
impl UnwindSafe for NJDNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more