bennexx commited on
Commit
7361795
·
verified ·
1 Parent(s): 51d0202

Update README.md

Browse files

### Summary
This dataset contains Japanese sentences, obtained from various online sources and processed in a way to make them more fit as example sentences for L2 Japanese (Japanese as a second language) learners.

### Data Fields

In the main configuration:
- `sentence` (`str`): a Japanese sentence.
- `level` (`str`): JLPT level of the sentence (attributed by a [text classifier](https://huggingface.co/bennexx/cl-tohoku-bert-base-japanese-v3-jlpt-classifier). The label has limitations)

In the `sources.csv` file:
- `source`: from this element's index and the next, sentences are found in `source`.

### Sources

Japanese Web as Corpus 1.0. [jpWaC page](https://www.clarin.si/repository/xmlui/handle/11356/1047)
Tatoeba sentences downloaded on 20/12/2023. [Tatoeba Project](https://tatoeba.org/en/downloads)
Wikipedia dump downloaded on 01/12/2023. [jawiki-20231201-pages-articles-multistream.xml.bz2](https://dumps.wikimedia.org/jawiki/20231201/jawiki-20231201-pages-articles-multistream.xml.bz2)

### Dataset construction
Processing filters:
- Entries with multiple sentences have been expanded
- Removal of duplicates
- No more than 20% punctuation
- No more than 20% numbers
Additionally, processing applied only to Wikipedia sentences:
- No Latin/Russian/Arabic characters
- End in punctuation, and the last word is an adjective, verb, or auxilliary

The library used was spaCy and the japanese model `ja_ginza`.

### Stats

- 97% of sentences are from Japanese Wikipedia
- The average sentence length is 26 tokens
- The average Kanji ratio is 37%

### Licenses

The same licenses as the original works apply [WIP]

Cite

[WIP]

Files changed (1) hide show
  1. README.md +6 -5
README.md CHANGED
@@ -1,14 +1,15 @@
1
  ---
2
  configs:
3
  - config_name: main_data
4
- data_files: "corpus.csv"
5
  default: true
6
  - config_name: tokenized_data
7
- data_files: "corpus_tokenized.csv"
8
- #default: true
9
  - config_name: sources
10
- data_files: "sources.csv"
11
  license: cc-by-sa-4.0
12
  license_name: license
13
  license_link: LICENSE
14
- ---
 
 
 
1
  ---
2
  configs:
3
  - config_name: main_data
4
+ data_files: corpus.csv
5
  default: true
6
  - config_name: tokenized_data
7
+ data_files: corpus_tokenized.csv
 
8
  - config_name: sources
9
+ data_files: sources.csv
10
  license: cc-by-sa-4.0
11
  license_name: license
12
  license_link: LICENSE
13
+ size_categories:
14
+ - 10M<n<100M
15
+ ---