msc-michal-maciaszek/helpers/get-sentences.sh
2021-03-02 13:03:19 +00:00

4 lines
149 B
Bash

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