This dictionary should be fully compatible with the default number system, but adds a number of enhancements.
Compared to the standard number handling:
EU,E(for Multisteno) orU(for Uni) reverses any stroke, and works with any number of digits130EU79produces "97031"
DZwill convert a number to hundreds of dollars, and works with multiple strokes1DZproduces "$100"1/2DZproduces "$1,200"
Zwill suffix "00"2Zproduces "200"2/3Zproduces "2300"23Zproduces "2300"
*will add a decimal point after12*/34produces "12.34"
*Swill add a comma after12*S/340*/50produces "12,340.50"
*Zwill add the suffix ',000'12*Zor12/*Zproduces "12,000"12*Z/*Zproduces "12,000,000"
Dwill always double the last digit1Dproduces "11"12Dproduces "122"123EUDproduces "3211"
Rconverts a number to roman numerals.*for lower case.12Rproduces "XII"19/29EURproduces "MCMXCII" (1992 in roman numerals)- This will only work for numbers between 1 and 3999 inclusive.
KWR-and-RBGare used to type years in a single strokeKWR-will add 1900 to the value, while-RBGwill add 2000 to it.24-RBGproduces "2024"KWR0EU8produces "1980"
WR-or-RBwill format the entire number as a dollar value.23WRor23-RBproduces "$23"1/12RBproduces "$112"1234RBproduces "$1,234"1234*RBproduces "$1,234.00"1234*/50RBproduces "$1,234.50"
KR-or-RGwill suffix the entire number with a percent symbol23KRor23-RGproduces "23%"1/12KRproduces "112%"1KRZproduces "100%"
WorBwill add ordinal suffixes:1Bproduces "1st"1BDor1/1Bproduces "11th"2/1Bproduces "21st"
- Clock timings are supported
K-or-BGwill add the suffix ":00"- Using
Kcombined withBand/orGgive 15 minute increments:12KGproduces "12:15"12KBproduces "12:30"12KBGproduces "12:45"
- Adding
-Sor*Swill suffix 'a.m.' or 'p.m.'
Gwill convert the number to words12Gproduces "twelve"2*GZproduces "two thousand"12*Z/*GZproduces "twelve million"- Note that
-Ssuffix with Plover's orthography rules will work as expected:30GSproduces "thirties"
- Can be combined with
W-to give ordinal words:12WEUG: produces "twenty-first".1W0GS: produces "tenths".- This can also be done as a suffix stroke:
1Z/#W-G: produces "one hundredth".
- In plover, first install plover-python-dictionary
- Save jeff-numbers.py from this repository
- Drag and drop the file into plover, and ensure it is listed above
main.json
You may also be interested in: