Vasily Alexeev commited on
Commit
8645d9e
·
1 Parent(s): f685402

Selected -> Thematized

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -25,8 +25,8 @@ links. The category catalog supports inspection of direct membership and parent
25
  relationships; it is not a curated subject taxonomy.
26
 
27
  The full collection is published as [TopicNet/RuWiki-Good-2026](https://huggingface.co/datasets/TopicNet/RuWiki-Good-2026).
28
- Its subject-labeled companion is [TopicNet/RuWiki-Good-Thematized-2026](https://huggingface.co/datasets/TopicNet/RuWiki-Good-Thematized-2026),
29
- called Selected in the preparation commands below.
30
 
31
  ## Files at a glance
32
 
@@ -290,7 +290,7 @@ Person names are not masked.
290
  Bigrams and trigrams are selected independently using NLTK PMI after a corpus
291
  frequency threshold of 5, with `nbest(32100)[100:]` for each order. Selection uses
292
  all normalized article bodies in the chosen collection; it is **corpus-global**,
293
- not fitted only on a later training split. Full and Selected therefore have
294
  separately selected n-gram vocabularies. These CSVs are not a claim of evaluation
295
  without information from held-out documents. For text-only experiments, use only
296
  `@word`; title, category and subject metadata may reveal evaluation targets.
@@ -300,7 +300,7 @@ without information from held-out documents. For text-only experiments, use only
300
  Run the preparation commands from `preprocessing/` in the downloaded Full
301
  collection. Local repository directories may have any names. Replace the paths
302
  below with your own absolute paths: `work_dir` is a separate working directory,
303
- and `selected_data` points to the Selected collection's `data/` directory.
304
  Choose fresh output and scratch paths on a disk with enough space; corpus output
305
  and scratch inside a published clone are rejected. Python 3.11.15 is the pinned
306
  runtime for both build and verify: VW escaping depends on its Unicode database.
@@ -364,7 +364,7 @@ those articles remain in the output.
364
  Verification needs no NLP packages. It checks source identities, output hashes
365
  against the build manifest, schemas, source text and NOOW/BOW token-count
366
  agreement. The shared entry point then independently checks the generated CSVs
367
- and Selected labels against published byte sizes and SHA-256 pins in the corpus
368
  contract, reporting `PUBLISHED_NLP_OK` on success. These expectations are separate
369
  from the newly generated manifest. Verification does not rerun tokenization,
370
  lemmatization or PMI selection.
@@ -396,13 +396,13 @@ bow = load_dataset(
396
  The same entry point supports `--stage corpus`, with `download`, `build` and
397
  `verify` actions. The [corpus contract](preprocessing/wikipedia-quality-corpus-20261001.json)
398
  pins the six 20261001 dump files, the published article/category payloads and the
399
- retained Selected annotations. This public raw-dump replay has **not yet been run
400
  end to end**. Its download time, build time and peak disk and memory requirements
401
  have not been measured; the NLP measurements above do not describe this stage.
402
 
403
  Keep the same `preprocessing/` working directory and path variables as in the
404
  NLP commands above.
405
- The Selected annotation directory must already contain `labels.json` and
406
  `topics.jsonl.gz`. These retained mappings reproduce the published subject
407
  assignments; the script does not rerun AI labeling.
408
 
@@ -433,7 +433,7 @@ published `data/` untouched. Corpus verification compares outputs with the
433
  independently bundled expected published payloads, rather than trusting hashes
434
  newly written by the build itself.
435
 
436
- For Full only, set `--dataset full` and omit `--annotations-dir`. Selected can
437
  also be reconstructed from a previously accepted Full corpus without rereading
438
  the dumps. From the same `preprocessing/` directory, resolve Full's data path:
439
 
@@ -450,7 +450,7 @@ python prepare.py --stage corpus --action verify --dataset selected \
450
  --output-dir "$work_dir/selected-output"
451
  ```
452
 
453
- This Selected-only workflow has been verified byte for byte against the published
454
  archive of all 17,251 articles, the labels file and the topic definitions.
455
 
456
  To continue from reconstructed JSONL to NLP, the corpus output root is directly
 
25
  relationships; it is not a curated subject taxonomy.
26
 
27
  The full collection is published as [TopicNet/RuWiki-Good-2026](https://huggingface.co/datasets/TopicNet/RuWiki-Good-2026).
28
+ Its subject-labeled companion is [TopicNet/RuWiki-Good-Thematized-2026](https://huggingface.co/datasets/TopicNet/RuWiki-Good-Thematized-2026).
29
+ In the preparation commands below, these datasets are called Full and Thematized, respectively.
30
 
31
  ## Files at a glance
32
 
 
290
  Bigrams and trigrams are selected independently using NLTK PMI after a corpus
291
  frequency threshold of 5, with `nbest(32100)[100:]` for each order. Selection uses
292
  all normalized article bodies in the chosen collection; it is **corpus-global**,
293
+ not fitted only on a later training split. Full and Thematized therefore have
294
  separately selected n-gram vocabularies. These CSVs are not a claim of evaluation
295
  without information from held-out documents. For text-only experiments, use only
296
  `@word`; title, category and subject metadata may reveal evaluation targets.
 
300
  Run the preparation commands from `preprocessing/` in the downloaded Full
301
  collection. Local repository directories may have any names. Replace the paths
302
  below with your own absolute paths: `work_dir` is a separate working directory,
303
+ and `selected_data` points to the Thematized collection's `data/` directory.
304
  Choose fresh output and scratch paths on a disk with enough space; corpus output
305
  and scratch inside a published clone are rejected. Python 3.11.15 is the pinned
306
  runtime for both build and verify: VW escaping depends on its Unicode database.
 
364
  Verification needs no NLP packages. It checks source identities, output hashes
365
  against the build manifest, schemas, source text and NOOW/BOW token-count
366
  agreement. The shared entry point then independently checks the generated CSVs
367
+ and Thematized labels against published byte sizes and SHA-256 pins in the corpus
368
  contract, reporting `PUBLISHED_NLP_OK` on success. These expectations are separate
369
  from the newly generated manifest. Verification does not rerun tokenization,
370
  lemmatization or PMI selection.
 
396
  The same entry point supports `--stage corpus`, with `download`, `build` and
397
  `verify` actions. The [corpus contract](preprocessing/wikipedia-quality-corpus-20261001.json)
398
  pins the six 20261001 dump files, the published article/category payloads and the
399
+ retained Thematized annotations. This public raw-dump replay has **not yet been run
400
  end to end**. Its download time, build time and peak disk and memory requirements
401
  have not been measured; the NLP measurements above do not describe this stage.
402
 
403
  Keep the same `preprocessing/` working directory and path variables as in the
404
  NLP commands above.
405
+ The Thematized annotation directory must already contain `labels.json` and
406
  `topics.jsonl.gz`. These retained mappings reproduce the published subject
407
  assignments; the script does not rerun AI labeling.
408
 
 
433
  independently bundled expected published payloads, rather than trusting hashes
434
  newly written by the build itself.
435
 
436
+ For Full only, set `--dataset full` and omit `--annotations-dir`. Thematized can
437
  also be reconstructed from a previously accepted Full corpus without rereading
438
  the dumps. From the same `preprocessing/` directory, resolve Full's data path:
439
 
 
450
  --output-dir "$work_dir/selected-output"
451
  ```
452
 
453
+ This Thematized-only workflow has been verified byte for byte against the published
454
  archive of all 17,251 articles, the labels file and the topic definitions.
455
 
456
  To continue from reconstructed JSONL to NLP, the corpus output root is directly