diff --git a/Cargo.toml b/Cargo.toml index 2f0e002..813ba43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "word-segmenters" +name = "instant-segment" version = "0.3.1" authors = ["Dirkjan Ochtman "] edition = "2018" license = "Apache-2.0" description = "Fast English word segmentation" -homepage = "https://github.com/InstantDomainSearch/word-segmenters" -repository = "https://github.com/InstantDomainSearch/word-segmenters" -documentation = "https://docs.rs/word-segmenters" +homepage = "https://github.com/InstantDomainSearch/instant-segment" +repository = "https://github.com/InstantDomainSearch/instant-segment" +documentation = "https://docs.rs/instant-segment" [features] __test_data = [] diff --git a/benches/bench.rs b/benches/bench.rs index 15b894d..e302296 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -6,7 +6,7 @@ benchmark_group!(benches, short); benchmark_main!(benches); fn short(bench: &mut Bencher) { - let segmenter = word_segmenters::test_data::segmenter(); + let segmenter = instant_segment::test_data::segmenter(); let mut out = Vec::new(); bench.iter(|| segmenter.segment("thisisatest", &mut out)); } diff --git a/tests/basic.rs b/tests/basic.rs index 6b89161..b15cfc5 100644 --- a/tests/basic.rs +++ b/tests/basic.rs @@ -2,7 +2,7 @@ use once_cell::sync::Lazy; -use word_segmenters::Segmenter; +use instant_segment::Segmenter; #[test] fn test_segment_0() { @@ -168,4 +168,4 @@ fn assert_segments(s: &[&str]) { assert_eq!(cmp, s); } -static SEGMENTER: Lazy = Lazy::new(word_segmenters::test_data::segmenter); +static SEGMENTER: Lazy = Lazy::new(instant_segment::test_data::segmenter);