curiosity-ai / catalyst

πŸš€ 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

Open schittli opened 1 year ago

schittli commented 1 year ago

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:

I have this situation:

  1. I have downloaded the NuGet Language Model: Catalyst.Models.English
  2. The English language Model is here: C:\Catalyst\LanguageModels\Catalyst.Models.English.dll
  3. 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?

Thanks a lot, kind regards, Thomas