如何使Hunspell的自定义词典 [英] How to make custom dictionary for Hunspell

查看:212
本文介绍了如何使Hunspell的自定义词典的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于建立hunspell的自定义词典的问题。
我现在使用一般的英文字典和贴现文件,我想为每个用户添加用户指定的字词到该字典。我想知道有没有人知道我该怎么做。



任何帮助或方向都会很好。



谢谢,
Amin

解决方案

创建自己的如果不存在,请使用单词列表和语言文件。那么,对于papiamentu - 库拉索的母语 - 这样的字典不存在。但是我很难找出如何创建这样的文件,所以我在这里记录: http://www.suares.com/index.php?page_id=25&news_id=233


I have a question about building a custom dictionary for hunspell. I'm using a general English dictionary and affix file right now, and I want to add user specified words to that dictionary for each of my users. I was wondering if anyone know how can I do that.

Any help or direction would be great.

Thanks, Amin

解决方案

create your own word-list and affix file for your language, if that doesn't exist. Well, for papiamentu - Curaçao's native language - such dictionary doesn't exist. But I had a hard time finding out how to create such files, so I am documenting it here: http://www.suares.com/index.php?page_id=25&news_id=233

这篇关于如何使Hunspell的自定义词典的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆