Skip to main content

normalize_line

Function normalize_line 

Source
pub fn normalize_line(line: &[u8]) -> Vec<u8> ⓘ
Expand description

Strings → "S", numbers → N, identifiers (length ≥ 4) → I, whitespace collapsed to single spaces, trimmed.