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 20 of file utils.py.

def julius_ros.utils.load_grammar (   path,
  name 
)

Definition at line 29 of file utils.py.

def julius_ros.utils.make_dfa (   grammar,
  voca 
)

Definition at line 110 of file utils.py.

def julius_ros.utils.make_grammar_from_rules (   rules)

Definition at line 83 of file utils.py.

def julius_ros.utils.make_phonemes_from_words (   words)

Definition at line 59 of file utils.py.

def julius_ros.utils.make_voca_from_categories (   cats,
  vocas 
)

Definition at line 93 of file utils.py.

def julius_ros.utils.readlines_with_utf8 (   path)

Definition at line 24 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 17 of file utils.py.

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

Definition at line 142 of file utils.py.



julius_ros
Author(s): Yuki Furuta
autogenerated on Wed Jul 10 2019 03:47:05