-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
|
||
## 1. What does this library do? | ||
|
||
Its task is simple: It tells you which language some provided textual data is written in. | ||
Its task is simple: It tells you which language some text is written in. | ||
This is very useful as a preprocessing step for linguistic data in natural language | ||
processing applications such as text classification and spell checking. | ||
Other use cases, for instance, might include routing e-mails to the right geographically | ||
|
@@ -1816,7 +1816,7 @@ Erroneously classified as Dutch: 0.20%, Latin: 0.10% | |
|
||
## 7. How to add it to your project? | ||
|
||
go get github.com/pemistahl/[email protected].0 | ||
go get github.com/pemistahl/[email protected].1 | ||
|
||
## 8. How to build? | ||
|
||
|
@@ -1974,7 +1974,7 @@ confidence := detector.ComputeLanguageConfidence("languages are awesome", lingua | |
fmt.Printf("%.2f", confidence) | ||
|
||
// Output: | ||
// French: 0.32 | ||
// 0.32 | ||
``` | ||
|
||
The value that this method computes is a number between 0.0 and 1.0. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters