Teddy Xinyuan Chen commited on
Commit
2549a09
·
unverified ·
1 Parent(s): 3afbef1

2024-05-10T12-12-38Z

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,9 +10,9 @@ def convert_text(text, system="Tailo", dialect="south", format="mark", sandhi="n
10
  # Convert the text using the specified transliteration system
11
  converted_text = converter.get(text)
12
  # Convert to simplified Chinese characters
13
- simplified_text = to_simplified(converted_text)
14
  # Convert to traditional Chinese characters
15
- traditional_text = to_traditional(converted_text)
16
  # Return the tuple containing all conversion results
17
  return converted_text, simplified_text, traditional_text
18
 
 
10
  # Convert the text using the specified transliteration system
11
  converted_text = converter.get(text)
12
  # Convert to simplified Chinese characters
13
+ simplified_text = to_simplified(text)
14
  # Convert to traditional Chinese characters
15
+ traditional_text = to_traditional(text)
16
  # Return the tuple containing all conversion results
17
  return converted_text, simplified_text, traditional_text
18