msc-drozdz/helpers/get-sentences.sh
2022-03-22 05:59:09 +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