Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(bytes: &[u8], format: &str) -> FileFacts
Expand description

Parse a terminology / parallel-data file (CSV or TSV) for its size, record count, and language columns. This reads the caller-supplied data file only; it runs no translation. Unknown / binary formats yield just the byte size.