簡體   English   中英

無法在Apertium中為Eng-fra語言對生成模式文件

[英]Unable to generate mode files in apertium for Eng-fra language pair

我正在嘗試使用a制作一個獨立的語言對。 我為eng-fra編譯了語言包,但未生成模式文件,它顯示以下錯誤。

apertium-validate-modes模式。xml模式。xml:6:元素模式:有效性錯誤:沒有聲明元素模式的屬性gendebug。xml:50:元素模式:有效性錯誤:沒有聲明元素模式的屬性gendebug文檔模式.xml無法針對/usr/share/apertium/modes.dtd進行驗證:*** [modes / fra-eng.mode]錯誤3

請幫助我解決此問題...我是否必須單獨創建模式文件

已經在https://sourceforge.net/p/apertium/discussion/481031/thread/56daa7e8/上回答了-但對於絆腳石這個錯誤的其他人,解決方案是更新a,請參閱http://wiki.apertium.org / wiki / Install_Apertium_core_using_packaging (盡管在這種情況下,最新的Debian / Ubuntu版本也可以使用)。

gendebug屬性是幾年前添加到modes.xml的。 https://github.com/apertium/apertium-fra-eng/blob/4ecf87a6410a900be87a6d98f80fdd2f93aeb73b/modes.xml在當前版本的apertium上可以很好地驗證。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM