Vasily Alexeev commited on
Commit
3a11a0a
·
1 Parent(s): 143bcc1

add title to body

Browse files
Files changed (4) hide show
  1. README.md +4 -2
  2. SHA256SUMS +3 -3
  3. data/bow.csv +2 -2
  4. data/noow.csv +2 -2
README.md CHANGED
@@ -51,9 +51,11 @@ Retained class counts:
51
 
52
  ## Representations and preprocessing
53
 
54
- The source adapter maps `News_Body` to `raw_text`, normalizes `News_Title` into the VW title namespace and uses `Topic` as the external label. IDs are `scinews_<original-split>_<six-digit-row-index>`; their original split component does not imply research membership.
55
 
56
- Each UTF-8 CSV has exactly `id,raw_text,vw_text` columns and lexicographically ordered document IDs. `raw_text` contains the news body only; the original headline is not provided separately in this package. The VW string starts with the document ID followed by `|@title` then `|@word`. Title content is available only as normalized tokens in `@title`. Labels are separate from the VW string. `noow` preserves normalized token occurrences in order; `bow` counts the same tokens independently per namespace as `token:count`, with lexicographic token order. The full prepared token sequences are included.
 
 
57
 
58
  NOOW means occurrence order after preprocessing, not untouched or reversible prose. English preprocessing uses Python 3.11.15, NLTK 3.9.2 and NLTK-data commit `550b6625bcef1f2abff2ff770a5a0d272c9c6b2a`: WordPunctTokenizer, lowercase per original span, minimum token length 2, averaged_perceptron_tagger_eng, WordNet POS mapping J/V/N/R with noun fallback, English stopword removal and `lemma.isalpha()` filtering. Names are not masked.
59
 
 
51
 
52
  ## Representations and preprocessing
53
 
54
+ The source adapter saves `News_Body` as the body and `News_Title` as the original headline, and uses `Topic` as the external label. IDs are `scinews_<original-split>_<six-digit-row-index>`; their original split component does not imply research membership.
55
 
56
+ Each UTF-8 CSV has exactly `id,raw_text,vw_text` columns and lexicographically ordered document IDs. `raw_text` contains the original, unnormalized headline followed by a blank line (two LF characters) and the original body. Only leading CR and LF characters are removed from the body at this boundary; all other headline and body characters are preserved. The VW string starts with the document ID followed by `|@title` then `|@word`: `@title` contains normalized original headline tokens, and `@word` contains normalized body tokens only. Normalizing the complete `raw_text` therefore does not reproduce the existing features in each modality. Labels are separate from the VW string. `noow` preserves normalized token occurrences in order; `bow` counts the same tokens independently per namespace as `token:count`, with lexicographic token order. The full prepared token sequences are included.
57
+
58
+ The headline/body concatenation affects only the display/export field `raw_text`; it does not define a newly processed population. Existing document selection, body-based deduplication, IDs, labels, split memberships and prepared VW features are unchanged.
59
 
60
  NOOW means occurrence order after preprocessing, not untouched or reversible prose. English preprocessing uses Python 3.11.15, NLTK 3.9.2 and NLTK-data commit `550b6625bcef1f2abff2ff770a5a0d272c9c6b2a`: WordPunctTokenizer, lowercase per original span, minimum token length 2, averaged_perceptron_tagger_eng, WordNet POS mapping J/V/N/R with noun fallback, English stopword removal and `lemma.isalpha()` filtering. Names are not masked.
61
 
SHA256SUMS CHANGED
@@ -1,7 +1,7 @@
1
  947f03cf79a99d7f9061220c575021c918ae95f64ab75c4112917be804fb51cd .gitattributes
2
- 95eabf5ef1644a9fe85e3de4cc7e4ce0a1bf576295b26012915931eee1b8b27b README.md
3
  dffd02d522c1cb894d4fd1eebe0e4b6098d045fac77755fc8f49341388b32750 SOURCE_README.md
4
- a37cd1f1cb47681e9a0d8a2054a56844fb1a9738eddb67668de22d06d78231d0 data/bow.csv
5
  b9959f976605f8b418f6565fec8228e1bfbb0e8a7c314f0d1cf9b79258e9ac7c data/labels.json
6
- 40df21605e7e4dd6a8f58a49938b252329cb78781c933645d0dc5ff605078c9c data/noow.csv
7
  d2e221cca3c7297d5b84f0d18dc2a7ba448e3775e33ff96a5e4bd30b33d13400 data/splits.json
 
1
  947f03cf79a99d7f9061220c575021c918ae95f64ab75c4112917be804fb51cd .gitattributes
2
+ 6291c21604daa190fbd5f38f09bb6fff461291d8a17a7eda13882462846498ca README.md
3
  dffd02d522c1cb894d4fd1eebe0e4b6098d045fac77755fc8f49341388b32750 SOURCE_README.md
4
+ 45f086796ca39994272e11a31a601ac2b8e91536f9bd812ce849be4c55042537 data/bow.csv
5
  b9959f976605f8b418f6565fec8228e1bfbb0e8a7c314f0d1cf9b79258e9ac7c data/labels.json
6
+ 1583bd93c7c5ef660fb18b255984d8a0caf721f8ac21026d40536f673a73ecbe data/noow.csv
7
  d2e221cca3c7297d5b84f0d18dc2a7ba448e3775e33ff96a5e4bd30b33d13400 data/splits.json
data/bow.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a37cd1f1cb47681e9a0d8a2054a56844fb1a9738eddb67668de22d06d78231d0
3
- size 259061878
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45f086796ca39994272e11a31a601ac2b8e91536f9bd812ce849be4c55042537
3
+ size 261941524
data/noow.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:40df21605e7e4dd6a8f58a49938b252329cb78781c933645d0dc5ff605078c9c
3
- size 287965748
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1583bd93c7c5ef660fb18b255984d8a0caf721f8ac21026d40536f673a73ecbe
3
+ size 290845394