Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
---
|
2 |
configs:
|
3 |
- config_name: main_data
|
4 |
-
data_files:
|
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
|
@@ -19,18 +22,26 @@ This dataset contains Japanese sentences, obtained from various online sources a
|
|
19 |
|
20 |
### Data Fields
|
21 |
|
22 |
-
In the
|
23 |
- `sentence` (`str`): a Japanese sentence.
|
24 |
-
- `level` (`str`): JLPT level of the sentence (attributed by a [text classifier](https://huggingface.co/bennexx/cl-tohoku-bert-base-japanese-v3-jlpt-classifier).
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
In the `sources.csv` file:
|
27 |
- `source`: from this element's index and the next, sentences are found in `source`.
|
28 |
|
29 |
### Sources
|
30 |
|
31 |
-
-Japanese Web as Corpus 1.0. [jpWaC page](https://www.clarin.si/repository/xmlui/handle/11356/1047)
|
32 |
-
-Tatoeba sentences downloaded on 20/12/2023. [Tatoeba Project](https://tatoeba.org/en/downloads)
|
33 |
-
-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)
|
34 |
|
35 |
### Dataset construction
|
36 |
Processing filters:
|
@@ -42,9 +53,8 @@ Additionally, processing applied only to Wikipedia sentences:
|
|
42 |
- No Latin/Russian/Arabic characters
|
43 |
- End in punctuation, and the last word is an adjective, verb, or auxilliary
|
44 |
|
45 |
-
The library used was spaCy and the japanese model `ja_ginza`.
|
46 |
|
47 |
-
### Stats
|
48 |
|
49 |
- 97% of sentences are from Japanese Wikipedia
|
50 |
- The average sentence length is 26 tokens
|
|
|
1 |
---
|
2 |
configs:
|
3 |
- config_name: main_data
|
4 |
+
data_files: corpus_level.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 |
+
- config_name: sentences_only
|
11 |
+
data_files: corpus.csv
|
12 |
+
|
13 |
license: cc-by-sa-4.0
|
14 |
license_name: license
|
15 |
license_link: LICENSE
|
|
|
22 |
|
23 |
### Data Fields
|
24 |
|
25 |
+
In the `main_data` configuration:
|
26 |
- `sentence` (`str`): a Japanese sentence.
|
27 |
+
- `level` (`str`): JLPT level of the sentence (attributed by a [text classifier](https://huggingface.co/bennexx/cl-tohoku-bert-base-japanese-v3-jlpt-classifier). Please keep in mind that the model has many limitations.)
|
28 |
|
29 |
+
In the `tokenized_data` configuration:
|
30 |
+
- `sentence` (`str`): a Japanese sentence.
|
31 |
+
- `sentence_tokenized` (`list`): list of the sentence's tokens as tokenized by `ja_ginza`.
|
32 |
+
- `sentence_tokenized_lemma` (`list`): same as above, but all tokens are lemmatized.
|
33 |
+
|
34 |
+
In the `sentences_only` configuration:
|
35 |
+
- `sentence` (`str`): a Japanese sentence.
|
36 |
+
-
|
37 |
In the `sources.csv` file:
|
38 |
- `source`: from this element's index and the next, sentences are found in `source`.
|
39 |
|
40 |
### Sources
|
41 |
|
42 |
+
- Japanese Web as Corpus 1.0. [jpWaC page](https://www.clarin.si/repository/xmlui/handle/11356/1047)
|
43 |
+
- Tatoeba sentences downloaded on 20/12/2023. [Tatoeba Project](https://tatoeba.org/en/downloads)
|
44 |
+
- 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)
|
45 |
|
46 |
### Dataset construction
|
47 |
Processing filters:
|
|
|
53 |
- No Latin/Russian/Arabic characters
|
54 |
- End in punctuation, and the last word is an adjective, verb, or auxilliary
|
55 |
|
|
|
56 |
|
57 |
+
### Some Stats
|
58 |
|
59 |
- 97% of sentences are from Japanese Wikipedia
|
60 |
- The average sentence length is 26 tokens
|