Skip to main content

parse_seed

Function parse_seed 

Source
pub fn parse_seed(src: &str) -> Vec<(char, Decomp)>
Expand description

Parse a seed-format TSV string into (char, Decomp) pairs.

Format: each non-blank, non-# line is <char>\t<zigen>\t<strokes>\t<shape>, where zigen is whitespace-separated 字根, strokes is whitespace- separated digits 1..=5, and shape is one of 1..=3. Malformed lines are silently skipped (consistent with the build-time parser in build.rs).