hi在某个地方的unity解决方案(.net 2.0(。我在Android平台上工作。我试图实现wecantspell.huntspell
但是我在编码时会遇到问题:"编码名称'ISO8859-1'不支持"我进行了一些研究,看到它正在使用: "Encoding.RegisterProvider"
,它在net 4.5中引入。
当我尝试实现nhunspell时,我会在初始化方面出现问题。实际上,加载DLL的问题。
ArgumentNullException: Argument cannot be null. Parameter name: path1 System.IO.Path.Combine (System.String path1, System.String path2) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/Path.cs:138) NHunspell.MarshalHunspellDll.get_NativeDLLPath () NHunspell.MarshalHunspellDll.ReferenceNativeHunspellDll ()
大概hunspell仅适用于Windows平台?只有Net 4.5?
是否有任何使用.dic和.aff文件的替代方案。我需要这种解决方案,如果我将dic aff转换为单词列表,则beacuse,因为来乡村文件为100MB 。从功能中,我只需要检查dict中是否存在单词。
解决方案:Unity 2017支持.NET 4.5,我今天尝试了Beta版本,并且正在与Hunspell C#port一起工作。
回答我自己的问题,对于其他可能像我一样卡住的人:Unity 2017具有.NET 4.5,我今天尝试了Beta版本,它正在与Hunspell C#port合作。