GithubHelp home page GithubHelp logo

Comments (2)

jzohrab avatar jzohrab commented on September 25, 2024

Yes, this will make the DB large. A few options:

  • store the processed texts (with zero-width-space word delimiters) on disk in the file system, and read from there. Don't know what speed implications this would have. Could store an index in the db (wordrefs -> WoID, TxID), that table would have lots of records (same as book wordcount) but would be fine.
  • have a separate "library" db just with the processed texts? Really, if I store things on disk, who cares whether it's in separate files, or in a single sqlite db? It's the same thing in the end. So the dbs would be: library with all texts, and lute, just with words and various other things for current active texts.
  • have some clever ??? way to remove sentences that don't add any value (e.g., sentences where all words are well known, or sentences whose words are already contained by other more recent sentences).

from lute.

jzohrab avatar jzohrab commented on September 25, 2024

Not fixing this -- it's a bug due to old code, life moves on, and things get better. We hope. Anyway, the way that text is stored/parsed needs to be revamped a bit, I think, as the db currently contains stuff that it really doesn't need (eg. texts.TxText seems redundant, when we have the Sentences table).

from lute.

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.