Thank you for reporting a problem.
This problem is most probably caused by strLanguageFolder parameter which should point (relative or absolute) to folder with language models.
It doesn't examine subfolders recursively, it means that language models have to be immediate children of the folder
strLanguageFolder points to.
Most probable causes:
- You might have used default value of languageModelsDirectory parameter which is a path relative to NTextCat's folder (where binaries have been extracted). Current Directory of Microsoft Dynamics CRM probably is not NTextCat's folder.
In this case, you can specify absolute path to the folder with language models.
- You might just have specified wrong path (e.g. typo or folder that doesn't contain language models as immediate children).
I have created an issue regarding proper error reporting if no language models have been found: http://ntextcat.codeplex.com/workitem/954
Thank you very much for reporting and please write us whether you have solved your problem or not.
P.S. We would appreciate very much if you contribute your plugin code for Microsoft Dynamics CRM
(we'd grant you developer permissions). Then we can maintain and extend this plugin with future features and API changes. Or at least please describe how you did that (as a small article in Documentation section).
P.S.S. SQL-CLR integration is almost finished so you'll be able to use NTextCat in SQL Server. Side effect of this is all assemblies got signed (to be released as v0.1.7).