failed09 commited on
Commit
b2631a5
·
verified ·
1 Parent(s): c124625

Frequency index v6.0: README.md

Browse files
Files changed (1) hide show
  1. README.md +114 -0
README.md ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - ba
5
+ pretty_name: Bashkir Frequency Index (83M tokens, RU-filtered press corpus)
6
+ task_categories:
7
+ - text-classification
8
+ configs:
9
+ - config_name: public
10
+ data_files:
11
+ - split: train
12
+ path: frequency_public.parquet
13
+ - config_name: full
14
+ data_files:
15
+ - split: train
16
+ path: frequency_full.parquet
17
+ tags:
18
+ - bashkir
19
+ - frequency
20
+ - wordlist
21
+ - lexicon
22
+ - low-resource
23
+ - cyrillic
24
+ - corpus-statistics
25
+ ---
26
+
27
+ # Bashkir Frequency Index v6.0
28
+
29
+ Word-frequency index for the Bashkir language, built from **83.27 million
30
+ tokens** of cleaned monolingual text (newspapers, magazines, encyclopedia,
31
+ Wikipedia, literature, speech transcripts; Russian-language admixture removed
32
+ by sentence-level filtering).
33
+
34
+ ## Configurations
35
+
36
+ | config | rows | cutoff | use case |
37
+ |---|---:|---|---|
38
+ | **`public`** (recommended) | 521,480 | count ≥ 3 | applications, spellcheckers, T9, research |
39
+ | `full` | 1,290,160 | count ≥ 1 | morphology studies, OCR noise analysis |
40
+
41
+ Additionally: [`top_coverage_50.json`](top_coverage_50.json) — the minimal
42
+ set of **1,624 word forms covering 50% of all tokens** (with cumulative
43
+ coverage), handy as a "learn these first" vocabulary list.
44
+
45
+ ## Schema
46
+
47
+ | column | type | description |
48
+ |---|---|---|
49
+ | `rank` | int64 | position by descending count |
50
+ | `word` | string | word form, lowercase |
51
+ | `count` | int64 | absolute frequency (tokens) |
52
+ | `ipm` | float | instances per million tokens |
53
+ | `doc_freq` | int32 | number of sentences containing the form |
54
+
55
+ ## Sample
56
+
57
+ | rank | word | count | ipm | doc_freq |
58
+ |---:|---|---:|---:|---:|
59
+ | 1 | һәм | 1,086,463 | 13,046.8 | 775,593 |
60
+ | 23 | башҡорт | 160,963 | 1,932.9 | 114,353 |
61
+ | 126 | йылға | 59,878 | 719.0 | 55,988 |
62
+ | 390 | тел | 23,031 | 276.6 | 19,225 |
63
+ | 439 | һуғыш | 20,963 | 251.7 | 17,315 |
64
+
65
+ ## Coverage
66
+
67
+ | tokens covered | forms needed |
68
+ |---:|---:|
69
+ | 25% | 188 |
70
+ | 50% | 1,624 |
71
+ | 80% | 17,361 |
72
+ | 90% | 53,307 |
73
+ | 95% | 130,399 |
74
+
75
+ ## Method
76
+
77
+ - Tokenization: regex lowercase extraction over the Cyrillic alphabet incl.
78
+ the 9 Bashkir-specific letters (`Ә Ғ Ҙ Ҡ Ң Ө Ҫ Ү Һ`).
79
+ - Corpus base: monolingual master v2 — 5,481,554 sentences; Russian
80
+ sentences (~11.6% of tokens in the previous version) removed with a
81
+ function-word filter (`ru_filter_v1`).
82
+ - Cleanups vs v5.0: glued-word forms >24 chars dropped (490), 1-char forms
83
+ dropped except `ә / у / а`, 34,922 rare forms merged into their
84
+ Damerau-Levenshtein-1 neighbours (conservative: ratio ≥ 50, length ≥ 5).
85
+
86
+ ## Known caveats
87
+
88
+ - The index is **wordform-level** (not lemmatized): agglutination produces
89
+ many forms of one lemma.
90
+ - The long tail (count < 3) contains OCR/source typos and glued artifacts.
91
+ - Proper names, especially Russian patronymics, appear in the tail.
92
+
93
+ ## Loading
94
+
95
+ ```python
96
+ from datasets import load_dataset
97
+
98
+ freq = load_dataset("failed09/bashkir-frequency-index", "public")["train"]
99
+
100
+ # top-20 verbs starting with "бар"
101
+ [f for f in freq.filter(lambda r: r["word"].startswith("бар"))][:20]
102
+ ```
103
+
104
+ ## Citation
105
+
106
+ ```bibtex
107
+ @dataset{failed09_bashkir_frequency_index_2026,
108
+ title = {Bashkir Frequency Index v6.0},
109
+ author = {failed09},
110
+ year = {2026},
111
+ publisher = {Hugging Face},
112
+ url = {https://huggingface.co/datasets/failed09/bashkir-frequency-index}
113
+ }
114
+ ```