GithubHelp home page GithubHelp logo

Comments (2)

tomatolog avatar tomatolog commented on July 25, 2024

what kind of dictionary you suggesting? Could you provide reproducible case - config, data to populate with the forum index and data to populate with the standard dictionary of Russian and query to both indexes with the result sets there it is clear why idx_right should be used but not the idx_forum.

Do you mean that you create and full another index with right content when use this form of CALL SUGGEST(word, 'idx_right,idx_forum') and if the 1st search in the idx_right term levinstein distance is closer to N (some new param) then not to search in the idx_forum ?

As if search into both idx_right and idx_forum what is the condition why to use idx_right but not idx_forum if levinstein distance is closer for term from idx_forum ?

from manticoresearch.

FuriusBaco avatar FuriusBaco commented on July 25, 2024

I can't fill in the indexes. Any forum will do.

A dictionary is a reliable source, so it should be used first. By the way, such a "CALL SUGGEST(words, 'idx_right,idx_forum')" format would also be very good! For example, I have a database with 1.7 million words. There is a similar one on Github (https://github.com/danakt/russian-words ). Manticore has its own dictionary (ru.pak, for example).

Now I'm making a Speller using just such a system - first a dictionary, then a forum. After some time, I will be able to tell you about the results.

You can make two modes - the priority of dictionaries as they are enumerated and as the Levenshtein distance increases, or a SORT BY operator or something similar.

from manticoresearch.

Related Issues (20)

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.