Skip to content

NGram progress indicator assumes toms.db? #92

Description

@pleonard212

I think there may be something that prevents ingesting raw text files... This section of generate_ngrams.py builds the data for a progress bar, but it seems to assume that a toms.db exists:

philo_db_path: str = os.path.abspath(os.path.join(text, os.pardir, os.pardir, "toms.db"))

This wouldn't be true if there was no Philologic database, and the user was just reading in texts files from the file system, I think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions