Skip to content

Commit 286ad64

Browse files
committed
Version 0.5.0
1 parent 1d6c5d5 commit 286ad64

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#### v0.5.0 - 2017-08-06
2+
* (breaking) Rename `Lang::to_code(&self)` to `Lang::code(&self)`
3+
* (fix) Fix bug with zero division in confidence calculation
4+
* (fix) Confidence can not exceed 1.0
5+
* Implement `Lang::eng_name(&self) -> &str` function
6+
* Implement `Lang::name(&self) -> &str` function
7+
* Implement `Script::name(&self) -> &str` function
8+
* Implement trait `Dislpay` for `Script`
9+
* Implement `Display` trait for `Lang`
10+
111
#### v0.4.1 - 2017-07-31
212
* Calculate confidence in the range from 0 to 1 for Info
313

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

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

1525
#### v0.3.1 - 2017-02-10
1626
* Fix build

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "whatlang"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
authors = ["Sergey Potapov <[email protected]>"]
55
description = "Natural language detection library. Identifies language of a given text."
66
keywords = ["language", "nlp", "lang", "whatlang", "text"]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add to you `Cargo.toml`:
3434
```
3535
[dependencies]
3636
37-
whatlang = "*"
37+
whatlang = "0.5.0"
3838
```
3939

4040
Example:

0 commit comments

Comments
 (0)