JapFlash is a simple tool for studying japanese vocabulary and kanji.
V1.0 should not be considered more than beta. I decided to publish it because
I am leaving for Japan and won´t have the chance to do any development
for a while. JapFlash runs under Personal Java 1.2. The program uses built
in bitmap font rendering algorithms to display japanese characters (taken
from Marshall Ramseys KanjiFlash). If japanese TTF support is
available on your System you can edit the options file such that the program
uses true type fonts.
Cursor-Up | When no card is beeing shown, the computer randomly selects a pile and lifts a card. In case a card is lifted, the next field is uncovered. If all fields are uncovered and the computer expects an answer, this key has no effect. |
Cursor-Down | Lifts a card from the selected pile, or pushes it back to the selected pile. |
Cursor-Left | Moves the selection left unless the card flashed red and green. In this case pressing the cursor-left key signalises a correct answer. |
Cursor-Right | Moves the selection right unless the card flashed red and green. In this case pressing the cursor-right key signalises a wrong answer. |
A lesson file consists of a header and a body. The header contains general
information about the lesson (last viewed, description...). The body
contains the card definitions lines and lines which indicate the start of
a new pile. Header and pile separators are optional. A card is defined by
one line in the lesson file. A card definition requires the fields KANJI
and MEANING. The READING-field and it´s enclosing brackets, the RIGHT-WRONG
fields and the LASTREVIEWED-fields are optional.
When saving all optional fields are generated. The description line is
set to the file name without extension. KingKanji and KanjiFlash
use the file format without the optional fields, therfore you can
open lesson files designed for those programs.
A typical file looks like this:
# Description: Description of the lesson. It can be modified by the user.
# Last Opened: Time in milliseconds UTC when the a flash card in this lesson was last reviewed.
# Cards: Number of cards in the file
# Correctness: percentage of cards which were recognised correctly two times consecutively.
# Piles : Number of piles in the file
# Pile: 0
# Pile: 1
# Pile: 2
KANJI [READING] MEANING/ #RRRRW -101664125800
KANJI [READING1/READING2] /MEANING/ #RRRW -101664154700
# Pile: 3
KANJI [READING1/READING2] /MEANING1/MEANING2/ #RRWR -101664128200
KANJI /MEANING1/MEANING2/ #RRWRR -10166414510
When you write your own lesson files it is sufficient to enter a lile like the following:
KANJI [READING1/READING2] /MEANING/
KANJI [READING1/READING2] /MEANING1/MEANING2
KANJI READING1] /MEANING1/
KANJI /MEANING/
The header format is:
# Description: Description of the lesson. It can be modified by the user.
# Last Opened: Time in milliseconds UTC when the a flash card in this lesson was last reviewed.
# Cards: Number of cards in the file
# Correctness: percentage of cards which were recognised correctly two times consecutively.
# Piles : Number of piles in the file
A piles separator looks like this:
# Pile: 0
A card definition looks like this;
KANJI [READING1/READING2/...] /MEANING1/..../ #RIGHT-WRONG - LAST-REVIEWED
where,
KANJI and READING have to be a strings in japanese characters when bitmap fonts are used.
MEANING has to be a string in roman characters when bitmap fonts are used.
The READING, the RIGHTW-WRONG and the LAST-REVIEWED information is optional.
The RightWrongJistory has a capacity of 16 characters.
LastAnswered is the time the difference, measured in milliseconds, between the time the card was ansered last and midnight, January 1, 1970 UTC.
Installing:
On the Zaurus just open JapFlashV10.jpk and select installation
to RAM ( I haven´t tried CF card installation yet). The installer will
do the rest :-)
#JapFlash by insaneLX | Comment |
#Mon Mar 25 22:13:40 CET 2002 | Comment |
meaningFontSize=16 | Size of the font used for the meaning when using
TTF-fonts |
isDefault=true | Size of the font used for the meaning when using
TTF-fonts |
directoryName= | |
testMode=0 | English to Kanji (0) or Kanji to English
(1) |
defaultScreenWidth=240 | |
readingFontSize=16 | Size of the font used for the reading when using
TTF-fonts |
kanjiFontName=Dialog | Name of the font used for kanji when using TTF-fonts |
bitmapFontFileName=k16x16.gz | Name of the bitmap font, if bitmap fonts should
be used. If true type fonts should be used leave this string empty. Only 3
file names are allowed (you can choose the directory though): k16x16.gz a 16 by 16 font k24x24.gz a 24 by 24 font k32x32.gz a 32 by 43 font |
directoryList=CF#C:/Eigene Dateien/MNGU-UTF8/|RAM#E:/ | List of entries and directories for the load
lesson screen. Eeach entry can have various directories whose content appears
in the lesson selection panel, when the entry is chosen in the drop-down
list. The directories have to be separted by a semikolon. Entries are separated
by a vertical bar, their name is followed by a hash which is followed by the
directories for that entry. |
stackBackgroundEndColor=51,244,255 | Color of the rightmost cardstacks background (blue) |
defaultScreenHeight=300 | |
liftProbabilityFactor=2 | When you leave the choice from which pile to
lift the card to the computer, it uses proability-factors to control the
probability for each pile to be chosen. A factor of 2 means that it is two
times more likely that a card is lifted from a certain pile than from its
left neighbour. |
kanjiFontSize=32 | Size of the kanji-font |
backgroundColor=229,244,255 | Light blue |
loadLastFileAtStartup=true | |
backgroundImageFileName= | You can specify a background image (gif or jpg) |
stackBackgroundStartColor=229,244,255 | Color of the leftmost cardstacks background
(light blue) |
meaningFontName=Dialog | |
stackStartColor=229,117,255 | Color of the leftmost cardstacks background |
fileName= | Name (with absolute path) of the lesson file
open when the program was closed. Empty if you chose not to save the file when closing. |
readingFontName=Dialog | Name of the true type font used for the reading
text field |
stackEndColor=51,244,255 | Color of the rightmost cardstacks background |