[−][src]Struct rupantor::parser::PhoneticParser
Parses and converts text into Bengali according to given grammar.
Implementations
impl PhoneticParser
[src]
pub fn new(rule: &Value) -> PhoneticParser
[src]
Creates a new PhoneticParser
instance from the given Json
value. The Json value must need to be a Json Object containing
the required values, otherwise a panic would occur.
pub fn convert(&self, input: &str) -> String
[src]
Converts the given input string into Bengali according to the grammar.
Auto Trait Implementations
impl RefUnwindSafe for PhoneticParser
impl Send for PhoneticParser
impl Sync for PhoneticParser
impl Unpin for PhoneticParser
impl UnwindSafe for PhoneticParser
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,