Functions | Variables
julius_ros.utils Namespace Reference

Functions

def is_hiragana (s)
 
def load_grammar (path, name)
 
def make_dfa (grammar, voca)
 
def make_grammar_from_rules (rules)
 
def make_phonemes_from_words (words)
 
def make_voca_from_categories (cats, vocas)
 
def readlines_with_utf8 (path)
 

Variables

 _REGEX_HIRAGANA = re.compile(r'^(?:\xE3\x81[\x81-\xBF]|\xE3\x82[\x80-\x93])+$')
 
 result = make_phonemes_from_words(["うどん", "そば"])
 

Function Documentation

def julius_ros.utils.is_hiragana (   s)

Definition at line 25 of file utils.py.

def julius_ros.utils.load_grammar (   path,
  name 
)

Definition at line 37 of file utils.py.

def julius_ros.utils.make_dfa (   grammar,
  voca 
)

Definition at line 141 of file utils.py.

def julius_ros.utils.make_grammar_from_rules (   rules)

Definition at line 99 of file utils.py.

def julius_ros.utils.make_phonemes_from_words (   words)

Definition at line 75 of file utils.py.

def julius_ros.utils.make_voca_from_categories (   cats,
  vocas 
)

Definition at line 118 of file utils.py.

def julius_ros.utils.readlines_with_utf8 (   path)

Definition at line 29 of file utils.py.

Variable Documentation

julius_ros.utils._REGEX_HIRAGANA = re.compile(r'^(?:\xE3\x81[\x81-\xBF]|\xE3\x82[\x80-\x93])+$')
private

Definition at line 22 of file utils.py.

julius_ros.utils.result = make_phonemes_from_words(["うどん", "そば"])

Definition at line 181 of file utils.py.



julius_ros
Author(s): Yuki Furuta
autogenerated on Wed Sep 2 2020 03:53:29