Variables
mycroft.util.lang.common_data_en Namespace Reference

Variables

dictionary _ARTICLES = {'a', 'an', 'the'}
 
dictionary _FRACTION_STRING_EN
 
dictionary _LONG_ORDINAL_STRING_EN
 
 _LONG_SCALE_EN
 
dictionary _NUM_STRING_EN
 
dictionary _ORDINAL_STRING_BASE_EN
 
dictionary _SHORT_ORDINAL_STRING_EN
 
 _SHORT_SCALE_EN
 

Variable Documentation

dictionary mycroft.util.lang.common_data_en._ARTICLES = {'a', 'an', 'the'}
private

Definition at line 20 of file common_data_en.py.

dictionary mycroft.util.lang.common_data_en._FRACTION_STRING_EN
private
Initial value:
1 = {
2  2: 'half',
3  3: 'third',
4  4: 'forth',
5  5: 'fifth',
6  6: 'sixth',
7  7: 'seventh',
8  8: 'eigth',
9  9: 'ninth',
10  10: 'tenth',
11  11: 'eleventh',
12  12: 'twelveth',
13  13: 'thirteenth',
14  14: 'fourteenth',
15  15: 'fifteenth',
16  16: 'sixteenth',
17  17: 'seventeenth',
18  18: 'eighteenth',
19  19: 'nineteenth',
20  20: 'twentyith'
21 }

Definition at line 55 of file common_data_en.py.

dictionary mycroft.util.lang.common_data_en._LONG_ORDINAL_STRING_EN
private
Initial value:
1 = {
2  1e6: "millionth",
3  1e12: "billionth",
4  1e18: "trillionth",
5  1e24: "quadrillionth",
6  1e30: "quintillionth",
7  1e36: "sextillionth",
8  1e42: "septillionth",
9  1e48: "octillionth",
10  1e54: "nonillionth",
11  1e60: "decillionth"
12  # TODO > 1e60
13 }

Definition at line 232 of file common_data_en.py.

mycroft.util.lang.common_data_en._LONG_SCALE_EN
private
Initial value:
1 = OrderedDict([
2  (100, 'hundred'),
3  (1000, 'thousand'),
4  (1000000, 'million'),
5  (1e12, "billion"),
6  (1e18, 'trillion'),
7  (1e24, "quadrillion"),
8  (1e30, "quintillion"),
9  (1e36, "sextillion"),
10  (1e42, "septillion"),
11  (1e48, "octillion"),
12  (1e54, "nonillion"),
13  (1e60, "decillion"),
14  (1e66, "undecillion"),
15  (1e72, "duodecillion"),
16  (1e78, "tredecillion"),
17  (1e84, "quattuordecillion"),
18  (1e90, "quinquadecillion"),
19  (1e96, "sedecillion"),
20  (1e102, "septendecillion"),
21  (1e108, "octodecillion"),
22  (1e114, "novendecillion"),
23  (1e120, "vigintillion"),
24  (1e306, "unquinquagintillion"),
25  (1e312, "duoquinquagintillion"),
26  (1e336, "sesquinquagintillion"),
27  (1e366, "unsexagintillion")
28 ])

Definition at line 78 of file common_data_en.py.

dictionary mycroft.util.lang.common_data_en._NUM_STRING_EN
private
Initial value:
1 = {
2  0: 'zero',
3  1: 'one',
4  2: 'two',
5  3: 'three',
6  4: 'four',
7  5: 'five',
8  6: 'six',
9  7: 'seven',
10  8: 'eight',
11  9: 'nine',
12  10: 'ten',
13  11: 'eleven',
14  12: 'twelve',
15  13: 'thirteen',
16  14: 'fourteen',
17  15: 'fifteen',
18  16: 'sixteen',
19  17: 'seventeen',
20  18: 'eighteen',
21  19: 'nineteen',
22  20: 'twenty',
23  30: 'thirty',
24  40: 'forty',
25  50: 'fifty',
26  60: 'sixty',
27  70: 'seventy',
28  80: 'eighty',
29  90: 'ninety'
30 }

Definition at line 23 of file common_data_en.py.

dictionary mycroft.util.lang.common_data_en._ORDINAL_STRING_BASE_EN
private

Definition at line 183 of file common_data_en.py.

dictionary mycroft.util.lang.common_data_en._SHORT_ORDINAL_STRING_EN
private
Initial value:
1 = {
2  1e6: "millionth",
3  1e9: "billionth",
4  1e12: "trillionth",
5  1e15: "quadrillionth",
6  1e18: "quintillionth",
7  1e21: "sextillionth",
8  1e24: "septillionth",
9  1e27: "octillionth",
10  1e30: "nonillionth",
11  1e33: "decillionth"
12  # TODO > 1e-33
13 }

Definition at line 216 of file common_data_en.py.

mycroft.util.lang.common_data_en._SHORT_SCALE_EN
private

Definition at line 108 of file common_data_en.py.



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