π Catalyst is a C# Natural Language Processing library built for speed. Inspired by spaCy's design, it brings pre-trained models, out-of-the box support for training word and document embeddings, and flexible entity recognition models.
MIT License
699
stars
71
forks
source link
`FastTextLanguageDetector`: What Storage does it expect? #88
I chose "Bug report" related to your description: "Create a report to help us improve"
Describe the bug
If I try to get samples/LanguageDetection/Program.cs running, then:
the cld2LanguageDetector perfectly works π,
the FastTextLanguageDetector throws an exception without offering useful information π, it just says:
System.IO.FileNotFoundException: Unable to find the specified file.(Of course, it should tell the path to the file which can not be found)
I have this situation:
I have downloaded the NuGet Language Model: Catalyst.Models.English
The English language Model is here: C:\Catalyst\LanguageModels\Catalyst.Models.English.dll
I set the DiskStorage and call FastTextLanguageDetector:
Storage.Current = new DiskStorage(@"C:\Catalyst\LanguageModels");
var fastTextLanguageDetector = await FastTextLanguageDetector.FromStoreAsync(Language.Any, Version.Latest, "");
Why is FastTextLanguageDetector not able to find the Language model?
Hello
I chose "Bug report" related to your description: "Create a report to help us improve"
Describe the bug If I try to get
samples/LanguageDetection/Program.cs
running, then:cld2LanguageDetector
perfectly works π,FastTextLanguageDetector
throws an exception without offering useful information π, it just says:System.IO.FileNotFoundException: Unable to find the specified file.
(Of course, it should tell the path to the file which can not be found)I have this situation:
C:\Catalyst\LanguageModels\Catalyst.Models.English.dll
Why is
FastTextLanguageDetector
not able to find the Language model?Thanks a lot, kind regards, Thomas