Code Monkey home page Code Monkey logo

Comments (4)

jprante avatar jprante commented on August 15, 2024

In german there are words with different meaning when written upper- or lowercase (not many, only a few)

Example:

Rasen = grass
rasen = to dash, to rush

from elasticsearch-analysis-baseform.

leabaertschi avatar leabaertschi commented on August 15, 2024

yeah, that's true :S. How hard would it be to adapt the files for german and build the plugin ourselves?

from elasticsearch-analysis-baseform.

jprante avatar jprante commented on August 15, 2024

Just fork and feel free to modify https://github.com/jprante/elasticsearch-analysis-baseform/tree/master/src/main/resources to your requirements ;-)

N.B. for lowercasing (with some ambiguities), you could simply combine this baseform analyzer with a lowercase filter.

from elasticsearch-analysis-baseform.

leabaertschi avatar leabaertschi commented on August 15, 2024

Actually, our problem is that users might enter the searchstring all lowercase and that it then cannot convert it into its base form. The second problem is that we use this plugin in combination with the decompound plugin which returns the tokens in lowercase and we have cases, where for some reason it does not return the tokens in their base form. E.g. Fleischtomaten converts into fleisch and tomate, but Datteltomaten converts to dattel and tomateN and the baseform plugin can then not convert tomaten into its base form because it's lowercase.

from elasticsearch-analysis-baseform.

Related Issues (14)

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.