From 1d482029f3e50d964e3766ab25c5f1cd551996d7 Mon Sep 17 00:00:00 2001 From: Avril Date: Sun, 11 Oct 2020 11:27:54 +0100 Subject: [PATCH] sentance delimit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/sanitise/sentance.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd688c2..2306f39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,7 +639,7 @@ dependencies = [ [[package]] name = "markov" -version = "0.6.2" +version = "0.6.3" dependencies = [ "async-compression", "cfg-if 1.0.0", diff --git a/Cargo.toml b/Cargo.toml index 1831803..97381a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "markov" -version = "0.6.2" +version = "0.6.3" description = "Generate string of text from Markov chain fed by stdin" authors = ["Avril "] edition = "2018" diff --git a/src/sanitise/sentance.rs b/src/sanitise/sentance.rs index cc1c364..8da3d7d 100644 --- a/src/sanitise/sentance.rs +++ b/src/sanitise/sentance.rs @@ -25,7 +25,7 @@ macro_rules! new { }; } -const DEFAULT_BOUNDARIES: &[char] = &['\n', '.', ':', '!']; +const DEFAULT_BOUNDARIES: &[char] = &['\n', '.', ':', '!', '?']; lazy_static! { static ref BOUNDARIES: smallmap::Map = {