-
Notifications
You must be signed in to change notification settings - Fork 8
Comparing changes
Open a pull request
base repository: LlmKira/fast-langdetect
base: pypi_0.2.1
head repository: LlmKira/fast-langdetect
compare: pypi_0.2.2
- 18 commits
- 9 files changed
- 1 contributor
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8f9ee30 - Browse repository at this point
Copy the full SHA 8f9ee30View commit details
Commits on Aug 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0b4d872 - Browse repository at this point
Copy the full SHA 0b4d872View commit details
Commits on Sep 14, 2024
-
📝 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
Configuration menu - View commit details
-
Copy full SHA for 37aca03 - Browse repository at this point
Copy the full SHA 37aca03View commit details
Commits on Sep 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2e42079 - Browse repository at this point
Copy the full SHA 2e42079View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1a784d - Browse repository at this point
Copy the full SHA a1a784dView commit details -
♻️ 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
Configuration menu - View commit details
-
Copy full SHA for ede2d25 - Browse repository at this point
Copy the full SHA ede2d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 199e27c - Browse repository at this point
Copy the full SHA 199e27cView commit details -
✨ 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.
Configuration menu - View commit details
-
Copy full SHA for db5790d - Browse repository at this point
Copy the full SHA db5790dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ebf65e - Browse repository at this point
Copy the full SHA 5ebf65eView commit details -
✨ feat(settings): introduce
USE_STRICT_MODE
settingadd `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`
Configuration menu - View commit details
-
Copy full SHA for fc99210 - Browse repository at this point
Copy the full SHA fc99210View commit details -
✨ 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
Configuration menu - View commit details
-
Copy full SHA for b854d9f - Browse repository at this point
Copy the full SHA b854d9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d35775c - Browse repository at this point
Copy the full SHA d35775cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a52eb53 - Browse repository at this point
Copy the full SHA a52eb53View commit details -
Configuration menu - View commit details
-
Copy full SHA for c85d533 - Browse repository at this point
Copy the full SHA c85d533View commit details -
Configuration menu - View commit details
-
Copy full SHA for a25b44b - Browse repository at this point
Copy the full SHA a25b44bView commit details -
🔧 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
Configuration menu - View commit details
-
Copy full SHA for ba4e9d7 - Browse repository at this point
Copy the full SHA ba4e9d7View commit details -
🔧 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
Configuration menu - View commit details
-
Copy full SHA for 1bbf7cd - Browse repository at this point
Copy the full SHA 1bbf7cdView commit details -
Merge pull request #5 from LlmKira/dev
(feat): Add small model `lid.176.ftz` to library resources, for offline use
Configuration menu - View commit details
-
Copy full SHA for 5728ba9 - Browse repository at this point
Copy the full SHA 5728ba9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff pypi_0.2.1...pypi_0.2.2