News for hackers. Stuff that matters.
Re:Learning to break ciphers by thaumasiotes on Saturday May 20, 2017 @02:41AM (#14381307)
There's some weird stuff going on in that app.

The oddest result I got was a rendering of 我长得不漂亮 as wǒ zhǎng dé bù piào liang "I long obtain no pretty". This gets the pronunciation right on four out of six characters. It gets the meaning right on three out of five words. Weirdly, it gets the pronunciation of 长 zhǎng "grow" right while glossing it as if it were 长 cháng "long".

If I give it 重新 chóngxīn, which is an adverb meaning something like "start over", it recognizes it as a single word of the correct pronunciation, but mysteriously glosses it as "reappear".

If I give it 我的狗去世了, it does pretty well, but glosses 了, a modality marker, as "is", which makes me extremely uneasy.

Re:Learning to break ciphers by peterburkimsher on Sunday May 21, 2017 @10:14AM (#14387395)
The dictionary is sourced from Google Translate and Unihan, with a few hundred manual edits. Click the Edit button to fix it if you already speak Chinese and find a problem! You said the pronunciation is wrong on 2/6 characters, but you didn't tell me the correct reading. Teach it! Teach me!
Re:Learning to break ciphers by thaumasiotes on Sunday May 21, 2017 @11:21PM (#14390793)
In the sentence 我长得不漂亮 "I am not pretty", 得 is de(toneless), the result marker, not 得 dé, the verb meaning "obtain". 不 really is the negative particle (that is to say, it is being glossed appropriately), but before a syllable in fourth tone it is pronounced bú, not bù.

I actually agree that word-by-word glossing like that is helpful, but this tool is doing a questionable job. Words that are more syntactic than semantic will be nearly impossible to fit into a word-by-word-gloss system -- for example, the ABC dictionary's gloss of "result 得" from the sentence above is "subordinating particle used to link a verb [or adjective] and the manner clause that follows it". This is difficult to condense into something that it would make sense for your app to render.

In the sentence 我的狗去世了 "my dog has died", 了 is the change-of-state particle, appropriate because my dog (presumably) used to be alive, but it's dead now. It's definitely not a verb; the verb is, depending on your perspective, 去世 "die" or just 去 "go".

If you're interested in my advice, I think the highest-value thing you can do to get good glosses is get Pleco for your smartphone and purchase the ABC Dictionary and Tuttle Learner's Dictionary addons. It'll be less convenient than your app, but much higher quality. (Detection of word boundaries is imperfect; google translate may actually be better at that particular task.)