Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement autosuggestions generation in get_data function #462

Closed

Commits on Oct 21, 2024

  1. Expand Hausa data queries for nouns, proper nouns, and verbs

    - Enhanced noun query to include definite and indefinite forms
    - Updated proper noun query with definite and vocative forms
    - Expanded verb query to cover past simple, present continuous, future tense, and imperative forms
    - Added comments and FILTER options for both Latin and Arabic script variants
    - Improved overall query structure and readability
    Collins-Webdev committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4172419 View commit details
    Browse the repository at this point in the history
  2. Implement autosuggestions generation in get_data function

    This commit integrates the autosuggestions functionality from process_wiki.py
    into the get_data function in get.py. Key changes include:
    
    1. Import gen_autosuggestions function from scribe_data.wikipedia.process_wiki
    2. Add new conditional block to handle 'autosuggestions' data type
    3. Implement autosuggestions generation logic for specified languages
    4. Add placeholder load_text_corpus function for future implementation
    
    The autosuggestions block now:
    - Iterates through specified languages
    - Loads text corpus (placeholder function to be implemented)
    - Calls gen_autosuggestions with appropriate parameters
    - Sets update_local_data=True to save results
    - Uses interactive mode for verbose output
    
    This update allows CLI users to generate autosuggestions directly via
    the get command, streamlining the data generation process.
    
    Note: The load_text_corpus function needs to be implemented to load
    the actual text corpus for each language before this feature is fully functional.
    
    TODO:
    - Implement load_text_corpus function
    - Ensure correct file paths and imports across the project
    - Add error handling for corpus loading and autosuggestions generation
    - Update documentation to reflect new autosuggestions functionality in CLI
    Collins-Webdev committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    cdc2f52 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    e2e9546 View commit details
    Browse the repository at this point in the history
  2. issue solved

    Collins-Webdev committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    886ed00 View commit details
    Browse the repository at this point in the history
  3. essay

    Collins-Webdev committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    80920c4 View commit details
    Browse the repository at this point in the history
  4. essay 2

    Collins-Webdev committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    fcbfda2 View commit details
    Browse the repository at this point in the history
  5. essay 3

    Collins-Webdev committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8f75976 View commit details
    Browse the repository at this point in the history
  6. essay 4

    Collins-Webdev committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    ff56e71 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. essay 4

    Collins-Webdev committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8465145 View commit details
    Browse the repository at this point in the history