on the Curl Web Content Markup Language

on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com
Showing posts with label Kanji dictionary. Show all posts
Showing posts with label Kanji dictionary. Show all posts

Monday, August 11, 2014

Curl flashcard maker for Conning's Kodansha Kanji Learner's Course


Did you recently acquire the 2nd Ed. of Halpern's Kodansha Kanji Learner's Dictionary ? The 2nd Ed. has the Unicode value for the kanji. In the example below that value is 9801.

Here is a snap of the Curl applet that I use on my desktop with the Unicode values found in Andrew Scott Conning's 2013 Kodansha Kanji Learner's Course : ( note the 4 markup macros named EmFontSize, CardFontSize, FrontSide and KJ )


Monday, June 4, 2012

Varying Joyo kanji order of presentation

re: varying the order of presentation of Joyo kanji definitions without edits of the text original

By using the serialization technique of my last note, the pages from Kanjidic2 can be varied in their order without touching the text original or using a DB.

A Curl applet could use SQLite, MySQL or JSON to achieve the same, but this varying order of presentation can also be accomplished using just the one web language, namely, MIT's Curl from www.curl.com

Wednesday, April 25, 2012

Kanjidic2 as CSV in HTML and text


To aid a neutral party in assessing approaches to digital dictionaries for Japanese, I have posted an HTML file displaying 10,000+ of the first entries in Kanjidic2 at
  http://kanji.aule-browser.com/kanjidic2-m12.html
I have restricted the dump to the Kanji, the UCS code and a max of 12 of a possible 14 meanings.

There are less than 10,200 due to the fact that in the first 12,155 entries, many had no XML meaning content which was not assigned a language attribute.  Those few thousand may have English translations in markup previously used for foreign languages.

The file can be found as
  http://kanji.aule-browser.com/kanjidic2-m12.csv
with a three line header which you may have to alter for your purposes.

The Kanjidic2 XML file was parsed using the Curl XDM library from curl.com (Nihon-go http://www.curlap.com)

As it stands, the HTML file should be useful for building custom Anki flashcards (themselves stored as SQLite.)   I will be using variant CSV output to construct dictionary software with annotations and spaced-repetition options.  Curl has both CSV and SQLite libraries in addition to the XML libraries.