Giter Site home page Giter Site logo

Comments (2)

stchris avatar stchris commented on August 17, 2024

Testing the fix in #402 I realized that there is a compromise to be made, see #403. The issue is with small text versus spaced apart text. I consider the former more important, so this is how it looks:

With the previous word_margin of 0.27 small text like this:
Screenshot 2022-12-21 at 13 23 39

would be indexed like this:
Screenshot 2022-12-21 at 13 24 38

and the food menu with the large spacing:
Screenshot 2022-12-21 at 13 28 12

would be indexed quite decently:
Screenshot 2022-12-21 at 13 28 52

But with word_margin=0.2 small text works fine:
Screenshot 2022-12-21 at 13 26 52

and the food menu is ... still quite decent?
Screenshot 2022-12-21 at 13 31 22

from ingest-file.

stchris avatar stchris commented on August 17, 2024

I prefer the above changes from #403 (word_margin=0.2) and will roll with those. I'm happy about having extended the test suite in terms of small text.

from ingest-file.

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.