I think the fix would be to change this:
with open(os.path.join(os.path.dirname(file), "data/grapheme_break_property.json"), 'r') as f:
that's why:
with open(os.path.join(os.path.dirname(file), os.path.join("data", "grapheme_break_property.json")), 'r') as f:
I think the fix would be to change this: with open(os.path.join(os.path.dirname(file), "data/grapheme_break_property.json"), 'r') as f: that's why: with open(os.path.join(os.path.dirname(file), os.path.join("data", "grapheme_break_property.json")), 'r') as f:
Making that change worked fine here.