Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LlmKira/fast-langdetect
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: pypi_0.2.1
Choose a base ref
...
head repository: LlmKira/fast-langdetect
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pypi_0.2.2
Choose a head ref
  • 18 commits
  • 9 files changed
  • 1 contributor

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    8f9ee30 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    0b4d872 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. 📝 docs: Update README and docstrings with multiline text handling

    - Added note in README about handling multiline text for language detection
    - Updated example outputs in README for clarity
    - Added docstrings to infer.py functions for better documentation
    - Added test for exception handling in detect function in test_detect.py
    sudoskys committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    37aca03 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    2e42079 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1a784d View commit details
    Browse the repository at this point in the history
  3. ♻️ refactor(infer.py): improve model loading and detection functions

    - Refactor `get_model_loaded` to `load_model` with enhanced error handling
    - Rename constants for better clarity and consistency
    - Simplify language detection functions and improve docstrings
    - Use `Optional` typing and rename parameters for clarity
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ede2d25 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    199e27c View commit details
    Browse the repository at this point in the history
  5. ✨ feat(detection): enhance model loading and caching mechanism

    Refactor model loading to use an enum and cache class.
    Improve error handling and logging.
    Add functionality to fallback to a local small model if download fails.
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    db5790d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ebf65e View commit details
    Browse the repository at this point in the history
  7. ✨ feat(settings): introduce USE_STRICT_MODE setting

    add `USE_STRICT_MODE` setting to enable/disable strict mode in detection
    updated README.md to reflect the new setting
    removed redundant `USE_STRICT_MODE` declaration in `infer.py`
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    fc99210 View commit details
    Browse the repository at this point in the history
  8. ✨ feat: enhance strict mode handling and update README

    - Updated README with new `use_strict_mode` parameter examples
    - Removed unused imports and settings in `infer.py`
    - Implemented `use_strict_mode` in model loading functions
    - Added `NOTICE.MD` with license information
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    b854d9f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d35775c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a52eb53 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c85d533 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a25b44b View commit details
    Browse the repository at this point in the history
  13. 🔧 refactor: reformat load_model function for readability

    - Adjusted parameter alignment in `load_model` definition
    - Refactored `load_large_model` logic for clarity
    - Enhanced fallback logic for strict and non-strict modes
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ba4e9d7 View commit details
    Browse the repository at this point in the history
  14. 🔧 refactor: reformat load_model function for readability

    - Adjusted parameter alignment in `load_model` definition
    - Refactored `load_large_model` logic for clarity
    - Enhanced fallback logic for strict and non-strict modes
    sudoskys committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    1bbf7cd View commit details
    Browse the repository at this point in the history
  15. Merge pull request #5 from LlmKira/dev

    (feat): Add small model `lid.176.ftz` to library resources, for offline use
    sudoskys authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    5728ba9 View commit details
    Browse the repository at this point in the history
Loading