Skip to content

Commit

Permalink
Merge pull request #3 from riggy2013/minor_bug_fix_001
Browse files Browse the repository at this point in the history
update demo.py
  • Loading branch information
eroux authored Jun 12, 2019
2 parents 026cb5d + 15a080d commit 1e1c589
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ venv.bak/

# mypy
.mypy_cache/

launch.json
9 changes: 4 additions & 5 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#print(converter.toUnicode("ba b+ba [a] ba\\u0f0b"))

orig = "ba b+ba [a] ba\\u0f0b"
orig = "snga 'phros a ri gzhung dang rgya gar gzhung so sor gsang ba'i thog nas nang don mthun lam chen po zhig nges par tu thugs zab thog/"

print(orig)
warns = []
Expand All @@ -20,8 +19,8 @@

print(converter.toWylie("In Chinese"))

#warns = []
#print(converter.toUnicode("snga 'phros a ri gzhung dang rgya gar gzhung so sor gsang ba'i thog nas nang don mthun lam chen po zhig nges par tu thugs zab thog", warns))

warns = []
orig = "snga 'phros a ri gzhung dang rgya gar gzhung so sor gsang ba'i thog nas nang don mthun lam chen po zhig nges par tu thugs zab thog/"

#print(converter.toUnicode("snga ", warns))
print(converter.toUnicode(orig, warns))
print(warns)

0 comments on commit 1e1c589

Please sign in to comment.