mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-21 03:24:48 +00:00
printdata: load all the properties from the PropList data.
This commit is contained in:
+5
-2
@@ -31,8 +31,11 @@ for data in ucd.parse_ucd_data(ucd_rootdir, 'UnicodeData'):
|
||||
for codepoint in data['CodePoint']:
|
||||
unicode_chars[codepoint] = data
|
||||
for data in ucd.parse_ucd_data(ucd_rootdir, 'PropList'):
|
||||
if data['Property'] in ['White_Space']:
|
||||
for codepoint in data['Range']:
|
||||
for codepoint in data['Range']:
|
||||
try:
|
||||
unicode_chars[codepoint][data['Property']] = 1
|
||||
except KeyError:
|
||||
unicode_chars[codepoint] = {'CodePoint': codepoint}
|
||||
unicode_chars[codepoint][data['Property']] = 1
|
||||
for data in ucd.parse_ucd_data(ucd_rootdir, 'Scripts'):
|
||||
for codepoint in data['Range']:
|
||||
|
||||
Reference in New Issue
Block a user