LuteOrg / lute-v3

LUTE = Learning Using Texts: learn languages through reading. Python/Flask.
MIT License
406 stars 45 forks source link

Feature request: related words as well as parent words #257

Open jamesdeluk opened 7 months ago

jamesdeluk commented 7 months ago

Simple example:

문자폭탄 = to be bombarded with text messages

문자 = text messages 폭탄 = bomb

I like the idea of being able to link 문자폭탄 to 문자 and 폭탄, but in a way that changing the status of one doesn't affect the status of any others. In this example, 문자 is well known, but 폭탄 is 1/5. This is different from, say, 문자는, which effectively means "the text message", and hence changing 문자는 should change 문자 (as currently happens with parent-child connections). It allows more of a graph, with 문자는 (the message) linking to 문자 (message) linking to 문자폭탄 (message bomb) linking to 폭탄 (bomb) linking to 폭탄선언 (bombshell).

jzohrab commented 7 months ago

This is a nice idea. The original note about "문자폭탄 " being composed of "문자" and "폭탄" is perhaps already partly covered by https://github.com/jzohrab/lute-v3/issues/251, "Show component words of multi-word terms", though that issue doesn't mention the graphing/connecting aspect.

Graphing items like this is a good idea which I've briefly sketched in another issue, https://github.com/jzohrab/lute-v3/issues/92 -- you'd never have seen that write-up though, it's quite buried.

I'd like to recast this issue in the idea of arbitrary word groupings -- it's another feature that I consider a core thing that is really necessary. Some ideas sketched out below, maybe you can add some notes too.

So much of language learning is about building these graphs mentally, and having that be part of Lute would be great, provided it's not a pile of mental/user effort to use. e.g. it would be super to have a place to note synonyms, antonyms, related words, spelling variants, etc etc. Also, the idea of "word families" is an important one that I've seen good linguists like Alexander Arguelles write about (e.g. "courage", "encourage", "discourage", "courageous" are all obviously linked).

If done poorly, it would be a real effort for the user to make these connections, but if done well it could be fun.

jamesdeluk commented 7 months ago

Ah, yes, this seems similar to #92. That said, thinking it through, for now one can simply use the search function on the terms page, so I wouldn't say this is high priority. Although if it's "simple enough" to duplicate the parent term field and have it work identically except without the scoring system, it would be a good improvement.

251 was a little different from my read, as it more applies to phrases/multi-word terms - which is good for idioms/fixed expressions - such as 골치를​ ​(head) and 썩고​ ​있다 (rotting) together (골치를​ ​썩고​ ​있다) meaning to be troubled/having difficulty (not literally a rotting head!) Whereas 머리를​ ​썩고​ ​있다 (머리 also means head) means to have a rotten head, not literally, but temperamentally.

jzohrab commented 7 months ago

It’s simple enough conceptually, but I don’t want to go down that road at the moment as it adds a fair amount of stuff, and I think there is a more general solution somewhere that would be a better use of thinking time. Thanks for the feedback 👍 I just need to clone myself a few times and we’ll be right on track.