Showing posts with label Curl programming language. Show all posts
Showing posts with label Curl programming language. Show all posts

Sunday, 31 August 2014

Curl markup for non-selectable furigana in plain text copy


漢字 · かんじ

Aule Kanji Pages · Kanji Recog Pages

The image below shows a poem selected with a mouse swipe WITHOUT the furigana text being selected.



Because Curl poetry markup uses macros, this can be set by a user to copy furigana INSTEAD of the kanji !

The size of the furigana and its visibility can be user options.




Sunday, 24 August 2014

Curl applet Henshall kanji


漢字 · かんじ

Aule Kanji Pages · Kanji Recog Pages

Still useful : my Curl applet for the Henshall kanji :



available at my http://www.aule-browser.com/kanji/index.html#apps
applet uses the free kanjidic2 data from edrg.org
Curl "Surge" RTE browser plugin is available at www.curl.com (English) www.curlap.com (Japanese)


Saturday, 23 August 2014

Monday, 22 July 2013

Masaoka Shiki summer kigo haiku 1896


Here is a screenshot of my Curl applet with over one thousand summer kigo (季語)  haiku {俳句} of Japanese poet Masaoka Shiki正岡 子規 ) from the year 1896, early in his mature period.


The applet has a scrolling tree kigo index, FIND and COPY. The applet in intended as an aid for recognizing kanji through reading haiku.

All kanji habe been converted from SH-JIS to utf-8.



Thursday, 11 October 2012

kanji by UCS

Here are some the the first, basic Japanese kanji sorted by their UCS value (UTF-16 codepoint)


一  丁  七  万  丈  三  上  下  不  与  世  丘  丙  両  並  中  丸  丹  主  久  乏  乗  乙  九  乱  乳  乾  事  二  亜  享  京  亭  人  仁  今

Is a particular pattern evident or helpful ?

I am in the process of adding a UCS - to- kanji -to- urlencoded - utf-8 page over at kanji.aule-browser.com which uses the Curl web content language (only a few lines of declarative script and a wee bit of procedural script required.)

UPDATE : that page with the HTML urlencoding for each character is at http://www.aule-browser.com/kanji/henshall-sorted-urlencoded.html .

A simpler plain HTML page is http://www.aule-browser.com/kanji/henshall-sorted-by-unicode.html .

Another safe, plain HTML page with no scripts, images, ads or other nuisance has the 1,945 Hernshall basic Japanese kanji sorted as they appear in the book - by their so-called Henshall number - is at http://www.aule-browser.com/kanji/henshall-sorted-by-id.html.

By viewing the page source in your browser you can see that there are no script or image elements to worry about - so you can safely copy this HTML text to your local machine to edit as you see fit.

The HTML text was generating using a Curl applet running off-line and parsing the Kanjidic2 XML.



Sunday, 7 October 2012

kanji walkabout

Here is a screenshot as the kanji mnemonics 'Mansion' applet begins to take shape in the Pale Moon 64-bit browser : jpg image-only.

The kanji to either side are Label objects on ReactiveLabel objects so that a click will give you access to information - can you see at a glance which match our mnemonic panels ?

Using the interior of architecture is the classic approach since at least the Greeks and Romans - but for that we may have to wait for Google Interiors. I may be able to get permission to do a set in the interior of Government House - those might be a rather 'honorific' set of characters.

If you are not comfortable with the URL to a JPG, here is a smaller version:


And here is the applet during testing of re-sizing  constraints:


Thursday, 13 September 2012

Concise Kanji Word Dictionary

Part 2 has arrived at kanji.aule-browser.com !

Part 2 of the Concise Edict2 Dictionary of Japanese Kanji Words and Expressions covers 380+ kanji and has 13,700+ entries.

Here is a screenshot:


Sunday, 9 September 2012

compress order

I have corrected the edict2 HTML+Curl web page with a compress order for resizing which still permits up to six characters to be viewed in the entry field.  Here is a half-width example :


The caption to the left of the field is compressed, but the essentials remain intact. Here is the same page after a few taps on CTRL-minus to adjust the HTML portion :

Personally, I like this result.



Saturday, 8 September 2012

file walker

The spin control now walks the 9 files in order as the sort imposed by the SpinControl is defeated by using a format spec to take the spin values as indices into a jōyō char array.

You can now go through about 200 characters before another file loads.

The font sizes have also been revised up for the spin control and the character entry field. But still only Beta 9.0.9 as a few quirks remain in the search algorithm for double-kanji expressions.

This Curl web content page displays the edict2 Japanese-English kanji dictionary by traversing 9 files using light-weight objectsand no database. It requires the Surge RTE browser plugin from www.curl.com

kanji SpinControl

I have added two kanji Spin widgets or SpinControl's at the HTML+Curl edict2 Japanese-English dictionary views page.

You can see them at the top in this screenprint:






The first spinner is for the jōyō kanji and the second holds the kanjidic2 kanji with a "frequency" value. The latter can be seen in the Curl app at http://www.aule-browser.com/kanji/kanjidic2-freq-curl.html.

Some of these pages will soon appear as Android and iOS app's thanks to the Curl CAEDE project.

Dictionary progress

I have added a progress bar widget to the bottom of the Kanji doubles dictionary view:


The shading spectrum varies as it loads the 9 files or crosses their boundaries in a search. I may yet add an in-line caption.

Thursday, 6 September 2012

Desktop app: a Japanese-English dictionary

The desktop application version of my Kanji-Doubles view of the Japanese-English edict2 dictionary is now available for Windows, Mac and linux with iPad (iOS) and Android app's to follow soon. The original image before blogger chewed on it, is at http://kanji.aule-browser.com/images/dcurl-dbl-dict.jpg


Thursday, 23 August 2012

Recognizing Kanji

I find that the Henshall page a kanji.aule-browser.com works well with the Beta 9.05 dictionary page.

Once I recognize the kanji on the first page, I can see the double character expressions in Edict2 on the second page.

These 9 kanji, taken in order descending the Henshall page, will traverse the Edct2 dictionary:

    意    観      好    昭      情      送      到      貿       礼

The Henshall kanji page begins as follows:


and the second, the dictionary, follows in order as:



The dictionary look-up does require the RTE browser plugin from Tokyo's SCSK Corp at curl.com.

There will soon be pages linking directly into the dictionary just as I now have pages linked into  wiktionary.org.

Those pages will start as Henshall, Heisig, Jōyō and Tuttle kanji sets.


Saturday, 11 August 2012

Edict2 J-E Dictionary

The Curl version of Edict2 is now testing on-line and as a desktop app (where it is very fast.)

Today added wildcard behavior for single kanji ( 来*) and behavior to roll backwards through the dictionary (the aim is no to have the dictionary in memory and to use no indices.)

Here is a snapshot of how things look today after a search on 遠来 :






From the scroll bar you can see we have about one "page" loaded.

The button bottom left rolls in the previous 2000 entries. Tomorrow: partial matches logic.