paper-cutter/{{cookiecutter.paper_repo_name}}/helpers/get-sentences.sh

4 lines
149 B
Bash
Raw Permalink Normal View History

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