FastText.NetWrapper
FastText.NetWrapper copied to clipboard
Unable to find an entry point named 'CreateFastText' in shared library 'fasttext'.
Hello, I am trying to use the FastText.NetWrapper library on Mac. I saved the FastText file to usr/local/bin. I directly cloned the FastText.NetWrapper files via Github and tried to try it via console, but I got the following error:
Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'CreateFastText' in shared library 'fasttext'.
If anyone has an idea that can help I would be very grateful.
Hi! This library is designed to be completely self-reliant, and doesn't require manual dependency installation. It also uses forked fastText binary in order to communicate with .NET code, which is bundled with the base Nuget package. Try deleting the fastText binary you saved to usr/local/bin
, since it might interfere with the custom binary.
Sorry, didn't notice that you are building the wrapper from source. You didn't specify what fastText binary you are using, so make sure you use my fork, the c_api
branch: https://github.com/olegtarasov/fastText.