commit | 96fdc9be352df941e7304b2e5ceeb8e2078d7307 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Oct 27 21:11:17 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Wed Oct 27 21:11:17 2021 +0200 |
tree | 666b91c4f9b530316b3a6fbfc13365b88307aad0 | |
parent | 2612f996e02898aa9cbd4964670cdd7446dd0813 [diff] |
Fix TokenWriter regarding sentence boundaries and remove simple TokenWriter Change-Id: I38a276f87f1f457a765462dabb14a0511f9447a2
diff --git a/cmd/datok.go b/cmd/datok.go index bd797bf..66bc7e9 100644 --- a/cmd/datok.go +++ b/cmd/datok.go
@@ -95,7 +95,7 @@ } // Create token writer based on the options defined - tw := datok.NewTokenWriterFromOptions(os.Stdout, flags) + tw := datok.NewTokenWriter(os.Stdout, flags) // Program is running in a pipe fileInfo, _ := os.Stdin.Stat()