Struct jpreprocess_jpcommon::AccentPhrase
source · pub struct AccentPhrase {
pub words: Vec<Word>,
/* private fields */
}Fields§
§words: Vec<Word>Implementations§
source§impl AccentPhrase
impl AccentPhrase
pub fn new(start_node: &NJDNode) -> Self
pub fn to_e(&self, is_prev_pause: Option<bool>) -> String
pub fn to_f( &self, accent_phrase_count_in_breath_group: usize, accent_phrase_index_in_breath_group: usize, mora_count_in_breath_group: usize, mora_index_in_breath_group: usize ) -> String
pub fn to_g(&self, is_next_pause: Option<bool>) -> String
pub fn generate_mora_a(&self) -> Vec<String>
pub fn count_mora(&self) -> usize
Auto Trait Implementations§
impl RefUnwindSafe for AccentPhrase
impl Send for AccentPhrase
impl Sync for AccentPhrase
impl Unpin for AccentPhrase
impl UnwindSafe for AccentPhrase
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