You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -435,7 +435,7 @@ Add *Lingua* to your `Cargo.toml` file like so:
435
435
436
436
```toml
437
437
[dependencies]
438
-
lingua = "1.7.1"
438
+
lingua = "1.7.2"
439
439
```
440
440
441
441
By default, this will download the language model dependencies for all 75 supported languages,
@@ -445,7 +445,7 @@ separate features in your `Cargo.toml`:
445
445
446
446
```toml
447
447
[dependencies]
448
-
lingua = { version = "1.7.1", default-features = false, features = ["french", "italian", "spanish"] }
448
+
lingua = { version = "1.7.2", default-features = false, features = ["french", "italian", "spanish"] }
449
449
```
450
450
451
451
## 9. How to build?
@@ -636,12 +636,8 @@ or unlikely to occur.
636
636
637
637
If you build a `LanguageDetector` from one language only it will operate in single-language mode.
638
638
This means the detector will try to find out whether a given text has been written in the given language or not.
639
-
If not, then `None` will be returned, otherwise the given language.
640
-
641
-
In single-language mode, the detector decides based on a set of unique and most common n-grams which
642
-
have been collected beforehand for every supported language. It turns out that unique and most common
643
-
n-grams help to improve accuracy in low accuracy mode, so they are used for that mode as well. In high
644
-
accuracy mode, however, they do not make a significant difference, that's why they are left out.
639
+
If not, then `None` will be returned, otherwise the given language. In single-language mode, the detector decides based on a set of unique and most common n-grams which
640
+
have been collected beforehand for every supported language.
645
641
646
642
### 10.7 Detection of multiple languages in mixed-language texts
If you build a `LanguageDetector` from one language only it will operate in single-language mode.
561
561
This means the detector will try to find out whether a given text has been written in the given language or not.
562
-
If not, then `None` will be returned, otherwise the given language.
563
-
564
-
In single-language mode, the detector decides based on a set of unique and most common n-grams which
565
-
have been collected beforehand for every supported language. It turns out that unique and most common
566
-
n-grams help to improve accuracy in low accuracy mode, so they are used for that mode as well. In high
567
-
accuracy mode, however, they do not make a significant difference, that's why they are left out.
562
+
If not, then `None` will be returned, otherwise the given language. In single-language mode, the detector decides based on a set of unique and most common n-grams which
563
+
have been collected beforehand for every supported language.
568
564
569
565
### 11.7 Detection of multiple languages in mixed-language texts
0 commit comments