04-26-2012, 01:21 AM,
(This post was last modified: 04-26-2012, 01:33 AM by RobertShiplett.)
|
|||||
|
|||||
Curl as Kanji dictionary parser
I have a post at http://lcurlr.blogspot.ca/2012/04/kanjidic2-csv.html to explain the CSV and HTML Kanji pages at http://kanji.aule-browser.com/kanjidic2-m12.html
I have had some minor glitches: the API of one call in the docs example did not match the API shipped for one proc and there are some errors now in the curl.com web pages and at the Curl pages at sourceforge.net (TIP: for the CDK, NEVER use the DOWNLOAD link - always go to Files page instead ...) The Curl Ext,Misc,CDK and WSDK libraries have made parsing these dictionaries a snap. Very cool. Very little code for exactly what I need. There are numerous features that made using XPath expressions a treat. Top on my list is the as-XDMElement property of an XDMNodeSet. Seond on my list would be the iterators such as {for elem:XDMElement in resultSet do } not to overlook being able to dump the parse results as a page in the web browser during dev. I will try to keep some examples at http://kanji.aule-browser.com
Robert Shiplett, Curlr
Fredericton NB Canada |
|||||
« Next Oldest | Next Newest »
|
Users browsing this thread:
2 Guest(s)
2 Guest(s)