<commit_before>// Example story: He was so [adjective] that he [verb]ed John in the face, sending him into a/an [noun].


use std::io::File;

fn main() {
    let story = File::open(&Path::new("story.txt")).read_to_end();
    match story {
        Ok(story) => println!("{}", story),
        Err(msg) => println!("Oops: {}", msg),
    }
}<commit_msg>file input line by line is working, non-unicode - CONCAT NOT WORKING<commit_after>// Example story: He was so [adjective] that he [verb]ed John in the face,
// sending him into a/an [noun].

use std::io;

fn main() {
    let mut story = "";
    println!("Please enter a line of the story. Enter a blank line to stop");
    for line in io::stdin().lines() {
        match line.to_string().as_slice() {
            "Ok(\n)" => break,
            _ => {
                println!("Please enter a line of the story. Enter a blank line to stop");
                //story = concat!(story, _);
            },
        }
    }
}
{'fraction_non_alphanumeric': 0.15822130299896586, 'fraction_numerical': 0.0, 'mean_word_length': 2.3964912280701753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3974469', 'n_tokens_mistral': 311, 'n_tokens_neox': 304, 'n_words': 106}