Vasily Alexeev commited on
Commit
efaeed7
·
1 Parent(s): 0e4015e

add title to body

Browse files
Files changed (4) hide show
  1. README.md +2 -2
  2. SHA256SUMS +3 -3
  3. data/bow.csv +2 -2
  4. data/noow.csv +2 -2
README.md CHANGED
@@ -47,9 +47,9 @@ Retained class counts:
47
 
48
  ## Representations and preprocessing
49
 
50
- The source adapter separates the headline at the first blank line; the CSV body excludes that headline. IDs are `bbc_<directory-label>_<three-digit-file-stem>`.
51
 
52
- 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.
53
 
54
  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.
55
 
 
47
 
48
  ## Representations and preprocessing
49
 
50
+ The source adapter separates the original headline from the body at the first blank line. IDs are `bbc_<directory-label>_<three-digit-file-stem>`.
51
 
52
+ 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.
53
 
54
  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.
55
 
SHA256SUMS CHANGED
@@ -1,7 +1,7 @@
1
  947f03cf79a99d7f9061220c575021c918ae95f64ab75c4112917be804fb51cd .gitattributes
2
- 9be18ede2deb9f50fdd09c985528864ecf95908097f1fe1a20202ce7dc572c3f README.md
3
  eea76164b59389dd8e7267d30cd3680afa001143be2df8fc0631c8c991dd150b SOURCE_README.txt
4
- 22a0848ad858cbcd627ce1c0ae29c5dbc48614bc8a28279e2030439a233f97bc data/bow.csv
5
  946d3a4ad97fcbb7952d8e3cc8f8a16f5ebdfdfce904939bc7c86ddbef90676d data/labels.json
6
- 15010f805a287f2d8b2edf7ec85f20d4f5bfc4a1ed7e2dcfd58a36713b129380 data/noow.csv
7
  e5d4cdaf68abd6d38fb6965da40e1bfd1915ac476209f021a3218e0e8e626d6a data/splits.json
 
1
  947f03cf79a99d7f9061220c575021c918ae95f64ab75c4112917be804fb51cd .gitattributes
2
+ da469495496a9cab4f590213fb9ea8c337c007a13a3d124b1bd8903a3febfe4e README.md
3
  eea76164b59389dd8e7267d30cd3680afa001143be2df8fc0631c8c991dd150b SOURCE_README.txt
4
+ 3d604bbbe7e2eb8907f162f87617ac38db413957067e558226bb132c2445100d data/bow.csv
5
  946d3a4ad97fcbb7952d8e3cc8f8a16f5ebdfdfce904939bc7c86ddbef90676d data/labels.json
6
+ 96051e9d10faf1bebe1a3baeaeef5bc93e806cf0ad0fb9882e9574e5385931e4 data/noow.csv
7
  e5d4cdaf68abd6d38fb6965da40e1bfd1915ac476209f021a3218e0e8e626d6a data/splits.json
data/bow.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22a0848ad858cbcd627ce1c0ae29c5dbc48614bc8a28279e2030439a233f97bc
3
- size 7506218
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d604bbbe7e2eb8907f162f87617ac38db413957067e558226bb132c2445100d
3
+ size 7575728
data/noow.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:15010f805a287f2d8b2edf7ec85f20d4f5bfc4a1ed7e2dcfd58a36713b129380
3
- size 7828306
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96051e9d10faf1bebe1a3baeaeef5bc93e806cf0ad0fb9882e9574e5385931e4
3
+ size 7897816