CjangCjengh commited on
Commit
b9fc1f2
1 Parent(s): a154b57
Files changed (1) hide show
  1. text/cleaners.py +1 -1
text/cleaners.py CHANGED
@@ -2,7 +2,7 @@ import re, sys ,os
2
  import cn2an
3
  import opencc
4
 
5
- converter = opencc.OpenCC(os.path.dirname(sys.argv[0])+'/lexicon/zaonhe.json')
6
 
7
  # List of (Latin alphabet, ipa) pairs:
8
  _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
 
2
  import cn2an
3
  import opencc
4
 
5
+ converter = opencc.OpenCC('lexicon/zaonhe.json')
6
 
7
  # List of (Latin alphabet, ipa) pairs:
8
  _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [