Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Improving speed match arrays with fuzzy logic

by Anonymous Monk
on Jan 19, 2019 at 11:58 UTC ( #1228744=note: print w/replies, xml ) Need Help??

in reply to Re^2: Improving speed match arrays with fuzzy logic
in thread Improving speed match arrays with fuzzy logic

If inflection (plural/singular) differences appear a lot then there is a module which converts a word to plural: Lingua::EN::Inflect. It is very simple to use and not slow. From manpage: print "same\n"      if PL_eq($word1, $word2);.

Phonix (and variations, e.g. Metaphone) are algorithms for collapsing words to a phonetic space (which is simpler for retrieval, e.g. w.r.t. spelling). There are modules available for doing that. It's probably worth applying fuzzy-distance to phonetic space and see if that works faster without loss of accuracy.

Apropos MXNet, there is an LSTM module judging from this: . If you can make use of something like the procedure described in this:

Using MXNet's Perl modules requires you to download MXNet from and install it, maybe compile it too.

Replies are listed 'Best First'.
Re^4: Improving speed match arrays with fuzzy logic
by bliako (Monsignor) on Jan 19, 2019 at 12:00 UTC

    that was bliako

      When something like this happens, just /msg the gods. We can change the ownership of a node.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228744]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-07-01 13:41 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.