The impression of the first sentence would be roughly like this.
I was being surprised if learning the character specific to China with just their justice is being filled to become ??* in thier use.
*I wasn't able to understand what 勘能 means without consulting a dictionary. "Proficient" should be 熟練/精通 in this context.
Is this what you wanted to do?
It looks like what I want to do mostly, but this example I made by hand apparently didn't turn out quite as nicely as I would've wanted...
My frank and honest comment is, the biggest problem is that in Japanese language the meaning of a single kanji is not always used/reflected in kanji compound.
Yes, I've seen that. Compounds don't always seem to be logical. A good example is 'silver river' for galaxy, the English compound 'star system' is much clearer. Yup, it's a problem.
I'm seeing the result in the reverse way - reading the English with kanji sprinkled, and try to guess the original text and what they're supposed to say. I'm sorry to say that it is extremely hard to make a correct guess, I need to go back to the original English text almost for every sentence.
After making this example, I'm not surprised...
List made by undrentide:
良日 : this is a possible combination but never ever used as a greeting. - I came up with this one myself...
驚 : means "surprise". To wonder in this context is translated as ~かと思う. - WWWJDIC says: wonder; be surprised; frightened; amazed
華字 : does not exist - should it be 漢字? - WWWJDIC says: Chinese character. Picked the wrong compound...
義 : is used in the word 定義 (definition) but when used on its own, it means justice. - WWWJDIC says: righteousness; justice; morality; honor; loyalty; meaning
満 : means full. Sufficient is 十分/充分. - Error on my part.
成 : assume it is meant to "become" but it is commonly written in hiragana なる. Yes, become. For what I want to do, hiragana shouldn't be used, only kanji or Latin characters.
勘能: does not make sense to me. Maybe 堪能? which does mean proficient. - WWWJDIC says: (adj-na) (1) proficient; skillful; (n,vs) (2) satisfaction; (n,vs) (3) {Buddh} fortitude; (P)
訓: one can only guess it has something to do 訓読み of kanji. - WWWJDIC says: instruction; Japanese character reading; explanation; read
費: on its own means primarily "cost". It does not mean "waste". (費やす means to spend, which is not necessarily to waste.) - WWWJDIC says: expense; cost; spend; consume; waste
刻: means time but in normaly/daily Japanese time is 時間. - Good to know, thanks.
得: Maybe it is taken from 得る to get, but when shown on its own, one's immediate guess is "to gain" in the sense of "save (money)" (against loss). - WWWJDIC says: gain; get; find; earn; acquire; can; may; able to; profit; advantage; benefit
以: one might guess correctly its meaning if one is familiar with 漢文. - WWWJDIC says: by means of; because; in view of; compared with
如: same goes with this. - WWWJDIC says: likeness; like; such as; as if; better; best; equal
Hmm, it seems we have a little problem here. Is WWWJDIC assigning too many meanings to the kanji? Also, it doesn't seem to indicate it's a characters primary meaning...
I know the sample sentences you gave are not the final version and you intend to make modifications, but if this program is supposed to help learning kanji in Japanese language, I'm afraid it does not help much or even can be misleading for leaners - it is not a question of its picking up kanji from 常用漢字or not.
There is no program yet, I did the example text by hand using WWWJDIC, but I don't see how the program would actually make better single kanji choices based on the kanjidic file used by WWWJDIC. This is going to be tough...
If the program converts words into kanji compounds instead of single kanji, then I think the result should be much better, though.
Yes, I agree. Unless there is a kanji dictionary file as extensive as kanjidic, which indicates things like context and primary use of kanji, single kanji replacements are going to be quite useless.