microsoft / phoneticmatching Goto Github PK
View Code? Open in Web Editor NEWA phonetic matching library. Includes text utilities to do string comparisons on phonemes (the sound of the string), as opposed to characters.
License: MIT License
A phonetic matching library. Includes text utilities to do string comparisons on phonemes (the sound of the string), as opposed to characters.
License: MIT License
Hi,
We are trying to use this library in our Microsoft Bot Framework bot.
When testing it locally in our emulator we have no issues and everything works fine.
The problems start when trying to deploy this solution to our azure environment.
At that point we get the following error:
Exception message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).
This leads me to believe that we are missing some sort of configuration on our App Service.
Does anyone have an idea how to solve this issue?
We have tried putting our build completly in x86 and x64. We have changed the settings on the app service itself to every possible platform.
Any help would be highly appreciated.
Good morning,
While trying to use EnContactMatcher.ts with 10k contacts the constructor
takes up to 1 min. By changing inner-matchers to non accelerated, it improves considerably (it goes down to 'only' 30 seconds).
I have a few questions:
find
method call (0.1 seconds with accelerated vs 0.3 seconds without). Given the find
time is almost negligible compared to the constructor
time for accelerated vs non accelerated , we chose to use non accelerated fuzzy matchers. Does this make sense?Thanks and congratulations for this amazing library :)
Hi, is it possible to add Python API?
Why does PhoneticMatching support only English?
I was trying to use this package in on of our Xamarin.Forms projects, but I get build errors:
On Windows (building Android app):
On Mac (building iOS app)
The packages are added correctly in all packages, without error or warnings. I have .Net Core 2.1.700 installed. If I add the packages to a Console app (.NET Core) everything works as expected.
Any ideas?
$ npm install -S phoneticmatching
[email protected] install /.../node_modules/phoneticmatching
node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://github.com/Microsoft/PhoneticMatching/releases/download/0.3.5/maluubaspeech-node-v79-linux-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v79 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/.../node_modules/phoneticmatching/build'
CXX(target) Release/obj.target/maluubaspeech-source/src/maluuba/speech/phoneticdistance/metric.o
CXX(target) Release/obj.target/maluubaspeech-source/src/maluuba/speech/phoneticdistance/phoneticdistance.o
CXX(target) Release/obj.target/maluubaspeech-source/src/maluuba/speech/pronouncer/pronouncer.o
../src/maluuba/speech/pronouncer/pronouncer.cpp:5:10: fatal error: flite/lang/cmulex/cmu_lex.h: No such file or directory
#include <flite/lang/cmulex/cmu_lex.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
Any chance to have the nuget library targeting netstandard 2.0 instead of netcoreapp2.1?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.