Classes | Namespaces | Functions | Variables
parse_en.py File Reference

Go to the source code of this file.

Classes

class  mycroft.util.lang.parse_en._ReplaceableNumber
 

Namespaces

 mycroft.util.lang.parse_en
 

Functions

def mycroft.util.lang.parse_en._convert_words_to_numbers (text, short_scale=True, ordinals=False)
 
def mycroft.util.lang.parse_en._extract_decimal_with_text_en (tokens, short_scale, ordinals)
 
def mycroft.util.lang.parse_en._extract_fraction_with_text_en (tokens, short_scale, ordinals)
 
def mycroft.util.lang.parse_en._extract_number_with_text_en (tokens, short_scale=True, ordinals=False, fractional_numbers=True)
 
def mycroft.util.lang.parse_en._extract_number_with_text_en_helper (tokens, short_scale=True, ordinals=False, fractional_numbers=True)
 
def mycroft.util.lang.parse_en._extract_numbers_with_text (tokens, short_scale=True, ordinals=False, fractional_numbers=True)
 
def mycroft.util.lang.parse_en._extract_whole_number_with_text_en (tokens, short_scale, ordinals)
 
def mycroft.util.lang.parse_en._generate_plurals (originals)
 
def mycroft.util.lang.parse_en._initialize_number_data (short_scale)
 
def mycroft.util.lang.parse_en._invert_dict (original)
 
def mycroft.util.lang.parse_en._partition_list (items, split_on)
 
def mycroft.util.lang.parse_en._tokenize (text)
 
def mycroft.util.lang.parse_en.extract_datetime_en (string, dateNow, default_time)
 
def mycroft.util.lang.parse_en.extract_duration_en (text)
 
def mycroft.util.lang.parse_en.extract_numbers_en (text, short_scale=True, ordinals=False)
 
def mycroft.util.lang.parse_en.extractnumber_en (text, short_scale=True, ordinals=False)
 
def mycroft.util.lang.parse_en.isFractional_en (input_str, short_scale=True)
 
def mycroft.util.lang.parse_en.normalize_en (text, remove_articles)
 

Variables

dictionary mycroft.util.lang.parse_en._DECIMAL_MARKER = {"point", "dot"}
 
dictionary mycroft.util.lang.parse_en._FRACTION_MARKER = {"and"}
 
 mycroft.util.lang.parse_en._MULTIPLIES_LONG_SCALE_EN = set(_LONG_SCALE_EN.values())|\
 
 mycroft.util.lang.parse_en._MULTIPLIES_SHORT_SCALE_EN = set(_SHORT_SCALE_EN.values())|\
 
dictionary mycroft.util.lang.parse_en._NEGATIVES = {"negative", "minus"}
 
 mycroft.util.lang.parse_en._STRING_LONG_ORDINAL_EN = _invert_dict(_LONG_ORDINAL_STRING_EN)
 
 mycroft.util.lang.parse_en._STRING_NUM_EN = _invert_dict(_NUM_STRING_EN)
 
 mycroft.util.lang.parse_en._STRING_SHORT_ORDINAL_EN = _invert_dict(_SHORT_ORDINAL_STRING_EN)
 
dictionary mycroft.util.lang.parse_en._SUMS
 
 mycroft.util.lang.parse_en._Token = namedtuple('_Token', 'word index')
 


mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40