greyblake / whatlang-rs

Natural language detection library for Rust. Try demo online: https://whatlang.org/
https://whatlang.org/
MIT License
966 stars 108 forks source link

Upgrade Hashbrown dependency #47

Closed batisteo closed 4 years ago

batisteo commented 4 years ago
test detect::tests::test_detect_lang_ukrainian ... ok
test detect::tests::test_detect_with_options_with_whitelist ... ok
test detect::tests::test_detect_with_options_with_whitelist_mandarin_japanese ... ok
test detect::tests::test_detect_with_options_with_blacklist_mandarin_japanese ... ok
test detect::tests::test_detect_with_options_with_blacklist_none ... ok
test lang::tests::test_code ... ok
test detector::tests::test_detect_script ... ok
test lang::tests::test_from_code ... ok
test lang::tests::test_name ... ok
test script::tests::test_detect_script ... ok
test lang::tests::test_eng_name ... ok
test script::tests::test_is_bengali ... ok
test detect::tests::test_detect_spanish ... ok
test script::tests::test_is_ethiopic ... ok
test script::tests::test_is_cyrillic ... ok
test script::tests::test_is_georgian ... ok
test detector::tests::test_detect ... ok
test script::tests::test_is_gurmukhi ... ok
test script::tests::test_is_greek ... ok
test script::tests::test_is_hangul ... ok
test script::tests::test_is_gujarati ... ok
test script::tests::test_is_oriya ... ok
test script::tests::test_is_kannada ... ok
test script::tests::test_is_katakana ... ok
test script::tests::test_is_latin ... ok
test script::tests::test_is_hiragana ... ok
test script::tests::test_is_tamil ... ok
test script::tests::test_is_telugu ... ok
test script::tests::test_script_name ... ok
test detector::tests::test_detect_lang ... ok
test detect::tests::test_detect_with_options_with_blacklist ... ok
test trigrams::tests::test_count ... ok
test script::tests::test_is_thai ... ok
test trigrams::tests::test_get_trigrams_with_positions ... ok
test trigrams::tests::test_to_trigram_char ... ok
test utils::tests::test_is_top_char ... ok
test detect::tests::test_detect_with_random_text ... ok

test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/detect-e62082f7a21f59b1

running 2 tests
test test_with_russian_text ... ok
test test_with_multiple_examples ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/proptests-b01aa78ab877cbd6

running 1 test
test proptest_detect_does_not_crash ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

   Doc-tests whatlang

running 11 tests
test src/lang.rs - lang::Lang::eng_name (line 5032) ... ok
test src/lang.rs - lang::Lang::name (line 5021) ... ok
test src/detector.rs - detector::Detector (line 13) ... ok
test src/lang.rs - lang::Lang::code (line 5010) ... ok
test src/detector.rs - detector::Detector (line 24) ... ok
test src/lang.rs - lang::Lang::from_code (line 4999) ... ok
test src/detect.rs - detect::detect (line 13) ... ok
test src/detect.rs - detect::detect_lang (line 27) ... ok
test src/lib.rs -  (line 24) ... ok
test src/script.rs - script::detect_script (line 77) ... ok
test src/lib.rs -  (line 9) ... ok

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
greyblake commented 4 years ago

Thanks.

greyblake commented 4 years ago

@batisteo Haha) Mi jam ekvidis, ke vi estas epserantisto. Do dankon!

batisteo commented 4 years ago

Nedankinde! :blush:

batisteo commented 4 years ago

Ĉu vi havus tempon por puŝi novan etan version?

greyblake commented 4 years ago

@batisteo Mi faru tion nun..

Cxu mi povas demandi, pro kio ve bezonas tian cxangxon? (Cxar sxajnas, ke gxi ne tre plirapidas)

greyblake commented 4 years ago

Fakte.. mi iam legis, cxu hashbrown estas nun default HashMap in Rust. Cxu? https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk,-v%3E-implementation

greyblake commented 4 years ago

@batisteo Gxuu v0.7.3

batisteo commented 4 years ago

Nur pro Sonic: https://github.com/valeriansaliou/sonic/pull/201 :wink: