Skip to content

xrival/kanji-frequency

 
 

Repository files navigation

Kanji frequency

Statistical data of kanji usage frequencies was collected by processing textual data from various sources. You can find these files in the data directory:

File # of kanji Description Date
aozora.json ~51.5M Fiction and non-fiction books from Aozora Bunko May 2015
news.json ~10.3M Online news articles from various sources June 2015
twitter.json ~10.0M Twitter messages collected by a bot June 2015
wikipedia.json ~784.6M Wikipedia dump (see jawiki bot) May 2015

Notes:

  • aozora.json: Pages were scanned as plain text, ignoring HTML structure, since they contain very little extra content.
  • news.json: Samples include articles published in the last year (June 2014 - June 2015, more samples from 2015), from 4 different sources. Only article titles, subtitles, main text body and image captions were scanned. Everything else was ignored: menus, publication dates, comments, ads, links to related articles, etc. Weather forecasts and area-specific news were not included.
  • twitter.json: Messages were collected within about 1 week from Twitter's Streaming API. Only message text bodies were scanned, authors' names and other data ignored.
  • wikipedia.json: Dump included only current versions of pages and articles, without previous revisions or any other history of editing. Dump was scanned as plain text, ignoring XML and wiki markup structure.

Format

Each file contain an array of arrays (rows). Each row contains three fields:

  1. (string) Kanji itself. "all" is a special case in the first row.
  2. (integer) How many times it was found in the analyzed data set. For "all" it is a total number of kanji, including repetitions.
  3. (float) Fraction of total amount of data this character represents. For "all" it is 1 (i.e. 100%).

License

This is a multi-license project. Choose any license from this list:

About

Kanji usage frequency data collected from various sources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.5%
  • HTML 37.0%
  • CSS 12.8%
  • CoffeeScript 4.2%
  • Shell 0.5%