From 684a6f6aa0bee8fc70db64effa86986b57f42b10 Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 12 Oct 2020 20:49:27 +0100 Subject: [PATCH] repurpose split-sentance to make sense --- Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 16f4d08..e22f386 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,11 +18,14 @@ compress-chain = ["async-compression", "bzip2-sys"] split-newlines = [] # Feed each sentance seperately with default /get api, instead of just each line / whole body -# Maybe better without `split-newlines`? -# Kinda experimental -feed-sentance = [] +# +# Note that this happens after `split-newlines`. +feed-sentance = ["split-sentance"] -# Split input by sentances as well as words. +# Split input buffer's to feed by sentance as well as word boundaries. +# +# Note that this happens after `split-newlines`. +# This feature does nothing if `feed-sentance` is enabled. split-sentance = [] # Always aggregate incoming buffer instead of streaming them