问题标签 [misspelling]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - 有没有办法使用 Javascript 在文本区域中返回拼写错误的单词?
我想创建一个函数来创建一个文本区域中拼写错误的单词列表。有没有办法根据默认字典/拼写检查器获取带有红色下划线的单词,因为它们拼写错误?
我知道我可以用“我自己的”字典来做这件事并检查它,但我的目标是使用自动拼写检查器文本框来做。提前致谢。
azure-language-understanding - LUIS 的同义词和拼写错误生成器
我正在开发一个使用 LUIS 的聊天机器人,我的项目中有很多实体。由于 LUIS 不识别拼写错误和同义词,我们正在努力手动添加这些。但由于这是大量的手动工作,我想知道是否有任何智能方法可以为我在 LUIS 中添加的实体列表生成同义词和拼写错误。
如果您对此有任何想法,谁能告诉我?非常感谢您的帮助。
misspelling - How do I find misspelled names in a column?
I have a list of names and I want to check, whether a name is present in the names in the table or not. But I have to think also on misspelling the name, so I want to find those names, which are misspelled with PARAMETER number of characters, i.e. the name has +-PARAMETER number of characters which are different, or not present in the list. Even better, if it would be possible to have two different parameters for length and differences. Example: My list contains John Doe, Adam Smith, Maria Thompson. I want to find Merie Bhompson if PARAMETER is 3 or more, but not find it if PARAMETER is 2 or less.I also want to find Mariaqqq Thompson as well as Ma Thompson if my PARAMETER is 3 or more. It should also work if my list contains O Le and PARAMETER is 5 (name is 4 characters long including space). Can you please help me finding a solution?
python - 如何在句子级别使用 pipspellcheck 包并替换拼写错误的单词
我想在数据预处理步骤中使用 pipspellcheck 来检查拼写错误的单词。我使用了自动更正包,但是,我无法更改它的字典来添加更多单词。
如何使用 pipspellcheck 来检查和替换句子级别的错误单词?或者如何更改自动更正的字典?