將 Babylon 字典轉換為 StarDict 字典

將 Babylon 字典轉換為 StarDict 字典

升級 Ubuntu 後,我們的工作管理員被卸載金字典而不是安裝的星際譯王。我在 GoldenDict 中使用了很多巴比倫字典。

我發現星際譯王不支援巴比倫字典,我需要轉換它們。我發現dictconv將巴比倫字典轉換為的工具星際譯王字典。dictconv轉換得很好,但是當我將它添加到 StarDict 並想查看結果時,星際譯王顯示結果以及 HTML 標籤,結果如下所示:

<--- An English-Spanish Dictionary (Granada University, Spain), 10.5 --->
write
<i> (v.)</i><i> = <b>escribir, redactar, confeccionar</b></i><br> <br>Def: <i>
Verbo irregular: pasado <b>wrote</b>, participio <b>written</b></i>.
<br> Ex: <i>A paraphrase is an interpretation of the concepts featured in a document, <b>written</b> in the language of the writer of the paraphrase</i>.<br> ----

有人知道其他轉換器嗎?或者我該如何解決這個特定錯誤?

謝謝

答案1

在谷歌搜尋後終於找到我想要的東西了。

因此,為了將 Babylon 字典轉換為 StarDict,我執行了以下說明:

  • sudo apt-get install stardict-tools安裝 stardict-tools
  • stardict-editor- 開啟stardict編輯器
  • 將開啟一個編輯器,您需要在其中瀏覽並選擇 .BGL 檔案(巴比倫字典)
  • 在打開的應用程式的底部,您選擇BGL file並點擊Build按鈕
  • 它將建立一個副檔名為 .babylon 的檔案。
  • 接下來瀏覽並選擇該文件
  • 在打開的應用程式的底部,您選擇Babylon file並點擊Build按鈕
  • 就是這樣。它將在目前目錄中建立 3 個檔案(.dict.dz、.idx、.ifo)
  • 將其複製並貼上到 StarDict 字典資料夾下的單獨目錄中。

就是這樣。

相關內容