msc-michal-maciaszek/helpers/get-sentences.sh

4 lines
149 B
Bash
Executable File

#!/bin/bash
bash helpers/pdf-to-plain-text.sh "$1" | perl helpers/strip-references.pl | perl -pne 'chomp $_; $_.=" "' | python3 -m syntok.segmenter