string-analyze 0.1.1

Find key strings from cluttered text
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io::{BufRead, stdin};
use string_analyze::analyze_with;
use string_analyze::rules::ALL_RULES;

fn main() {
    let input = stdin().lock();
    for s in input.lines().map_while(Result::ok) {
        let r = analyze_with(&s, &ALL_RULES);
        if r.score() != 0 {
            println!("{:#}", r);
        }
    }
}