use std::{fs::File, path::Path};
use rs_conllu::{Sentence, parse_file};
pub fn iter_sentences_in_conllu(path: impl AsRef<Path>) -> impl Iterator<Item = Sentence> {
let file = File::open(path).unwrap();
let doc = parse_file(file);
doc.map(|v| v.unwrap())
}