var searchIndex = {}; searchIndex["caribon"] = {"doc":"","items":[[3,"Error","caribon","Caribon error type (just a String currently)",null,null],[12,"content","","",0,null],[3,"Ast","","The internal representation of the document.",null,null],[12,"words","","Vector of `Word`s. The main data of the structure.",1,null],[12,"begin_head","","Position of <head> tag, if any",1,null],[12,"begin_body","","position of <body> tag, if any",1,null],[12,"end_body","","position of </body> tag, if any",1,null],[3,"Parser","","Parser which can load a string, detects repetition on it and outputs an HTML file.",null,null],[4,"Word","","`Word` type: some inner representation used by `Parser`.",null,null],[13,"Untracked","","A String which is not part of the text (typically whitespace, HTML formatting, ...)",2,null],[13,"Ignored","","A word that is ignored, either because it is in `parser.ignored` or because it is\na proper noun and `ignore_proper` has been set to `true`.",2,null],[13,"Tracked","","Tracked string, containing the string, the stemmed variant of the\nstring, some value corresponding to the degree of repetitions and\nan option to a highlighting colour",2,null],[11,"fmt","","",0,null],[11,"new","","",0,{"inputs":[{"name":"str"}],"output":{"name":"error"}}],[11,"fmt","","",0,null],[11,"description","","",0,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"set_stemmed","","Sets the stemmed value of a word.",2,null],[11,"set_count","","Sets the repetition value of a word.",2,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"new","","Creates a new, empty AST",1,{"inputs":[],"output":{"name":"ast"}}],[11,"mark_begin_head","","Sets begin_head to current last position of words",1,null],[11,"mark_begin_body","","Sets begin_body to current last position of words",1,null],[11,"mark_end_body","","Sets end_body to current last position of words",1,null],[11,"get_body","","Get only the words contained between <body> and </body>",1,null],[11,"get_body_mut","","Get only the words contained between <body> and </body>, mutable version",1,null],[11,"list_languages","","Returns a vector containing all languages that are implemented.",3,{"inputs":[],"output":{"name":"vec"}}],[11,"get_ignored_from_string","","Returns a vector of ignored words from a string.",3,{"inputs":[{"name":"str"}],"output":{"name":"vec"}}],[11,"get_ignored_from_lang","","Returns a vector containing the default ignored words for this language.",3,{"inputs":[{"name":"str"}],"output":{"name":"vec"}}],[11,"new","","Returns `Ok(Parser)` if language is `ok`, Err(Error) else.",3,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"with_fuzzy","","Sets fuzzy string matching (default None)",3,null],[11,"with_max_distance","","Sets max distance for repetitions (default 50).",3,null],[11,"with_html","","Sets HTML detection in input (default true).",3,null],[11,"with_ignore_proper","","Sets whether repetition detection should ignore proper nouns (default false).",3,null],[11,"with_ignored","","Sets the ignored list with a list of words contained in the argument string.",3,null],[11,"with_more_ignored","","Appends a list of words contained in the argument string to the list of ignored words",3,null],[11,"tokenize","","Tokenize a string into a list of words.",3,null],[11,"detect_local","","Detect the local number of repetitions.",3,null],[11,"words_stats","","Returns stats about the words",3,null],[11,"detect_global","","Detect the global number of repetitions.",3,null],[11,"ast_to_terminal","","Display the words to terminal, higlighting the repetitions.",3,null],[11,"ast_to_markdown","","Display the Ast to markdown, emphasizing the repetitions.",3,null],[11,"ast_to_html","","Display the Ast to HTML, higlighting the repetitions.",3,null],[6,"Result","","Caribon Result, used by some functions",null,null]],"paths":[[3,"Error"],[3,"Ast"],[4,"Word"],[3,"Parser"]]}; initSearch(searchIndex);