We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56bbbd5 commit a60625dCopy full SHA for a60625d
bertalign/utils.py
@@ -15,7 +15,7 @@ def clean_text(text):
15
16
def detect_lang(text):
17
translator = Translator(service_urls=[
18
- 'translate.google.cn',
+ 'translate.google.com.hk',
19
])
20
max_len = 200
21
chunk = text[0 : min(max_len, len(text))]
0 commit comments