Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
vsabolcec committed May 14, 2024
1 parent 5846fbd commit c0505de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multilingual/wiki_lang_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def to_clean_stopwords(lang, word_counter):
"stopwords": to_clean_stopwords(language_stats.language, word_counter),
"line_punct_thr": max(round(line_punct_ratio_mean - line_punct_ratio_std, 2), 0),
"short_line_thr": round(short_line_ratio_mean + short_line_ratio_std, 2),
"new_line_ratio": min(round(new_line_ratio_mean + 2*new_line_ratio_std, 2), 1),
"new_line_ratio": min(round(new_line_ratio_mean + 2 * new_line_ratio_std, 2), 1),
"char_duplicates_ratio": 0.01,
}

Expand Down

0 comments on commit c0505de

Please sign in to comment.