msc-michal-maciaszek/helpers/get-sentences.sh
2021-05-24 06:09:36 +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