Skip to content

[BUG] - Unable to Generate autocomplete_lexicon and autosuggestions into SQLite via CLI #647

@catreedle

Description

@catreedle

Terms

Behavior

Current Behavior:
There’s no available option or command in either the CLI or interactive CLI to generate autocomplete_lexicon and autosuggestions data into the SQLite database.

Expected Behavior:
Users should be able to generate autocomplete_lexicon and autosuggestions data in the SQLite database when the necessary JSON source files (nouns, prepositions, autosuggestions, and emoji_keywords) are present.

Steps to reproduce:

  1. Generate nouns, prepositions, and emoji_keywords for any language using this command:
    scribe-data g --lang italian --data-type Nouns Prepositions Emoji_keywords
  2. Generate autosuggestions for the same language using this command
    scribe-data g --lang italian --data-type autosuggestions
  3. Run the interactive CLI : scribe-data i and make these choices:
Image
  1. See that Scribe-Data/scribe_data_sqlite_export/ITLanguageData.sqlite is created with no autocomplete_lexicon and autosuggestions table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions