Skip to content

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Aug 6, 2017
1 parent 1d6c5d5 commit 286ad64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#### v0.5.0 - 2017-08-06
* (breaking) Rename `Lang::to_code(&self)` to `Lang::code(&self)`
* (fix) Fix bug with zero division in confidence calculation
* (fix) Confidence can not exceed 1.0
* Implement `Lang::eng_name(&self) -> &str` function
* Implement `Lang::name(&self) -> &str` function
* Implement `Script::name(&self) -> &str` function
* Implement trait `Dislpay` for `Script`
* Implement `Display` trait for `Lang`

#### v0.4.1 - 2017-07-31
* Calculate confidence in the range from 0 to 1 for Info

Expand All @@ -10,7 +20,7 @@
* Replace HashMap with FnvHashMap (~ 33% faster)

#### v0.3.2 - 2017-06-04
* Small perfomance improvement: preallocate memory for counter_hash in trigrams.rs (~ 2-3% faster)
* Small performance improvement: preallocate memory for counter_hash in trigrams.rs (~ 2-3% faster)

#### v0.3.1 - 2017-02-10
* Fix build
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "whatlang"
version = "0.4.1"
version = "0.5.0"
authors = ["Sergey Potapov <[email protected]>"]
description = "Natural language detection library. Identifies language of a given text."
keywords = ["language", "nlp", "lang", "whatlang", "text"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add to you `Cargo.toml`:
```
[dependencies]
whatlang = "*"
whatlang = "0.5.0"
```

Example:
Expand Down

0 comments on commit 286ad64

Please sign in to comment.