Function ptb_reader::parse_ptb_sample_dir [] [src]

pub fn parse_ptb_sample_dir(mergeddir: &str) -> Vec<PTBTree>

Parse the free PTB sample files (wsj_0001.mrg to wsj_0199.mrg).

Will panic if anything goes wrong.

Wrapper around parse_ptb_file.