3

使用Google Translate API時,我可以訪問單詞的同義詞和示例以及翻譯本身嗎?Google翻譯獲取同義詞和示例

我簽出docs但我沒有看到類似的東西。

+0

你有沒有發現任何解決方案,因爲呢?我試圖手動加載Google Translate頁面以解析它。但不幸的是,我甚至無法加載它。在這裏我完成:http://stackoverflow.com/questions/29274481/get-no-response-when-sending-manually-request-to-google-translate –

+0

@János現在沒有解決方案,試圖加載頁面,但也這是非常不自然的,所以我最好等谷歌改善他們的API。 – Andrei

回答

2

不,您無法獲取同義詞和示例以及翻譯的文本。目前他們在Translate API中只有3種方法.3種方法是detections.list,languages.list和translations.list。所以我認爲如果你在AppEngine的PIT上發佈了這個API的功能請求,那將會很棒。

+0

完成https://code.google.com/p/googleappengine/issues/detail?id=11773&thanks=11773&ts=1426115997 – Andrei

+0

我也有投票的功能要求,我也需要同義詞,從那以後你有沒有找到任何替代方案? –

0

Pearson發佈了免費的API,其中包括示例,詞性和同義詞。檢查出來:http://developer.pearson.com/apis/dictionaries

http://api.pearson.com/v2/dictionaries/lase%20/entries?headword=hola

{ 
    "status": 200, 
    "offset": 0, 
    "limit": 10, 
    "count": 1, 
    "total": 1, 
    "url": "/v2/dictionaries/lase /entries?headword=hola", 
    "results": [ 
    { 
     "datasets": [ 
     "lase", 
     "dictionary" 
     ], 
     "headword": "hola", 
     "id": "ct59rx0q97", 
     "part_of_speech": "interjection", 
     "senses": [ 
+0

不幸的是,皮爾森正在暫停他們的API:http://developer.pearson.com/apis/dictionaries –

+0

@ThilawFabrice爲什麼?沒有!!這就是爲什麼很難依賴這些服務。我最終只是下載和切片我自己的字典。我很樂意接受SpanishDict!字典。他們非常全面。 – Growler