Code Monkey home page Code Monkey logo

phoneticmatching's Issues

Using this library on an Azure App Service

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.

Question: EnContactMatcher performance

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:

  1. Are those times reasonable/expected with 10k contacts?
  2. Would it be ok to open a PR adding a new configuration flag for using or not accelerated matchers in EnContactMatcher? Another option would be passing in the EnContactMatcher constructor the fuzzy matcher class to use? Which one would you prefer?
  3. With 10k contacts, there's a very small difference on the performance for 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 :)

Python API

Hi, is it possible to add Python API?

PhoneticMatchin Xamarin.Forms

I was trying to use this package in on of our Xamarin.Forms projects, but I get build errors:

On Windows (building Android app):

  1. EnPhoneticFuzzyMatcher not found
  2. The Type or namespace "PhoneticMatching" does not exist

On Mac (building iOS app)

  1. Same as above
  2. Error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.

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?

Build issue on Node 13.9.0 / WSL Debian / ARM64 SurfaceProX

$ 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.

Target NetStandard?

Any chance to have the nuget library targeting netstandard 2.0 instead of netcoreapp2.1?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.