Esempio n. 1
0
def auto_from_file(filename, destLang, serverEndpoint=ServerEndpoint):
    jsonOutput = doTranslate1(destLang, filename, serverEndpoint)
    return jsonOutput[1]
Esempio n. 2
0
def auto_from_file(filename, destLang, serverEndpoint=ServerEndpoint):
    jsonOutput = doTranslate1(destLang, filename, serverEndpoint)
    return jsonOutput[1]
Esempio n. 3
0
def from_file(filename, srcLang, destLang, serverEndpoint=ServerEndpoint):
    jsonOutput = doTranslate1(srcLang + ":" + destLang, filename, serverEndpoint)
    return jsonOutput[1]
Esempio n. 4
0
def from_file(filename, srcLang, destLang, serverEndpoint=ServerEndpoint):
    jsonOutput = doTranslate1(srcLang + ':' + destLang, filename,
                              serverEndpoint)
    return jsonOutput[1]