简体   繁体   English

Apertium语言对中的编译错误

[英]compiling error in apertium language pair

I was making english-spanish language pair by following these http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair apertium instructions but after scripting pair when I go: 我通过遵循以下http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair开口指示来制作英语-西班牙语语言对,但是在我编写脚本对之后:
./autogen.sh --with-lang1=../apertium-en --with-lang2=../apertium-es
With this command I got this error, how can I solve this problem? 使用此命令,我收到此错误,如何解决此问题?
configure: WARNING: apertium-en looks like an apertium dependency, but couldn't find ../apertium-en/apertium-en.pc.in -- wrong directory, or not compiled yet? configure: error: Could not find sources dir for apertium-en (AP_SRC1="../apertium-en")

All the "modern" Apertium language data uses 3-letter language codes, so that should probably be apertium-eng . 所有“现代” Apertium语言数据都使用3个字母的语言代码,因此可能应该是apertium-eng

Ensure you've checked out and configured apertium-eng and apertium-spa in the parent dir, eg 确保您已在父目录中签出并配置了apertium-engapertium-spa ,例如

cd ..
git clone https://github.com/apertium/apertium-eng
git clone https://github.com/apertium/apertium-spa
for l in apertium-{eng,spa}; do ( cd "$l" && ./autogen.sh && make ); done

then in the pair you're making, do 然后在你正在做的一对中

./autogen.sh --with-lang1=../apertium-eng --with-lang2=../apertium-spa
make

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何清除Apertium语言对中的翻译错误? - how to remove translation error in apertium language pair? 如何在apertium中引导语言对? - How to boot-strap a language pair in apertium? Apertium翻译。 有没有办法获得原始短语 - Apertium translator. Is there a way to get the original phrase 错误:无法加载或查找主类语言 - Error: Could not load or find main class language 不确定如何解决来自 Google 自然语言 api 的语言错误消息:“document_sentiment 分析不支持语言 sq。” - Unsure how to resolve language error message from Google's natural language api: "The language sq is not supported for document_sentiment analysis." 使用 PHP 创建带有 api 的自然语言分类器时出错,返回数据太小错误但在 Postman 中有效 - Error creating natural language classifier with api using PHP, returns data too small error but works in Postman Google自然语言REST API返回错误400接收到无效的JSON有效负载。 未知名称\\“ document \\”:“ - Google Natural language REST API returns error 400 Invalid JSON payload received. Unknown name \“document\”: " Google 的 Cloud Natural Language API 抛出“Request contains an invalid argument”错误(400) - Google's Cloud Natural Language API throwing “Request contains an invalid argument” error (400) 自然语言命令语言 - Natural language command language R - NLP - 提取对 - R - NLP - Extract pair
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM