From 6367d5343791c8e1e9f54fe3055f80cd41b73ce8 Mon Sep 17 00:00:00 2001 From: Ahmed TAHRI Date: Tue, 18 Oct 2022 20:55:22 +0200 Subject: [PATCH] :pencil: Missing CHANGELOG entry and add language_threshold to docs::advanced usage --- CHANGELOG.md | 1 + docs/user/advanced_search.rst | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bd07b40..dcfd8f76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - Coherence detector no longer return 'Simple English' instead return 'English' +- Coherence detector no longer return 'Classical Chinese' instead return 'Chinese' ## [3.0.0b2](https://github.com/Ousret/charset_normalizer/compare/3.0.0b1...3.0.0b2) (2022-08-21) diff --git a/docs/user/advanced_search.rst b/docs/user/advanced_search.rst index b4441e58..a269cd10 100644 --- a/docs/user/advanced_search.rst +++ b/docs/user/advanced_search.rst @@ -18,7 +18,8 @@ As follow :: cp_isolation=None, # Finite list of encoding to use when searching for a match cp_exclusion=None, # Finite list of encoding to avoid when searching for a match preemptive_behaviour=True, # Determine if we should look into my_byte_str (ASCII-Mode) for pre-defined encoding - explain=False # Print on screen what is happening when searching for a match + explain=False, # Print on screen what is happening when searching for a match + language_threshold=0.1 # Minimum coherence ratio / language ratio match accepted )