Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by Nadya on Thursday August 20, 2015 @04:58PM
(#10094610)
* internet high five *
Awesome.
I couldn't think of how to phrase the problem. "Short phrases with meanings that don't match the individual words used being parsed as individual words instead of the short phrase" is kind of wordy and a little confusing.
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by thaumasiotes on Friday August 21, 2015 @04:38AM
(#10096515)
> "Short phrases with meanings that don't match the individual words used being parsed as individual words instead of the short phrase" is kind of wordy and a little confusing.
These are called "idioms", or, if you want to be really technical for its own sake, "non-compositional phrases". But I note that, at least according to wikipedia, "idiom" is the technical term as well as the vernacular one.
https://en.wikipedia.org/wiki/Phraseme#Non-compositional_phr...
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by Nadya on Friday August 21, 2015 @11:15AM
(#10098039)
You know those times where you need to describe something but are forgetting the word so you call a "bridge" "an elevated structure built to allow crossing over bodies of water and roads"?
That was one of those times... though I appreciate you calling me out on it. :)
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by chrisvasselli on Thursday August 20, 2015 @05:07PM
(#10094667)
Heheh, got it! Yeah, fortunately JMDict is a really mature project, and has got a ton of these kinds of things covered.
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by MarkSweep on Thursday August 20, 2015 @06:28PM
(#10095008)
Which morphological analyzer are you using to do the deconjugation?
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by chrisvasselli on Thursday August 20, 2015 @06:38PM
(#10095041)
I actually ended up rolling my own. There are some tricky cases involved, and I wanted full control over it.
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by chrisvasselli on Friday August 21, 2015 @09:35AM
(#10097300)
Actually, I should give some proper credit here. My husband Justin wrote this component, which turned out awesome. He's really into Japanese linguistics. =)
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by glandium on Friday August 21, 2015 @10:52PM
(#10101333)
Would you have specific examples of things that wouldn't have been possible with e.g. mecab or chasen?
Re:Show HN: Nihongo – Study Japanese using authentic text fr...
by chrisvasselli on Saturday August 22, 2015 @08:29AM
(#10102321)
To be honest, I haven't spent a huge amount of time exploring mecab and chasen, although I probably should. The decision to write our own was partially just because it seemed like a fun academic exercise, and we learned a lot from building it. We also have some features in mind for the future that it will be useful to have deep control over the the tokenizing and deconjugation, but those haven't made it into the app yet.
Many of these kinds of phrases exist in the dictionary (I'm using JMDict under the hood), but for those that don't, it would create two flashcards, one for each word. The flashcards are set by default to use the most common meaning, but if there are alternative meanings, you can choose to show those in addition, or instead of the most common meaning.