Registered Member
|
This is been mentioned on another topic and in posts to the Parley mailing lists but I thought I'd post a new topic as I intend to work on this idea myself once I get up to speed on C++/KDE libs.
My idea for learning grammar in a different language is for a program to generate simple sentences using words from a .kvtml file created in Parley/KWordquiz which are displayed in one language and the user has to guess it's meaning in the other language. These sentences are generated from a set of rules created beforehand. This is required as languages have different structures. I have just started learning Gaidhlig so apologies if part of this is incorrect, the structure of one type of simple sentence in that language would be: verb pronoun (noun) (adverb) adjective (conjunction) The above word types in brackets means they are optional. The program searches for words of these type in the .kvtml (the word type for each entry needs to be defined in Parley) and then constructs the sentence. Another simple sentence could be created when the conjunction word type is used i.e. and, but. To make the experience of using the program more interactive, these word-types will be picked randomly with the optional word types included in a random basis as well i.e. to be included or not to be included in sentence. The following example shows how the program would work: Word-type Gaidhlig English ========= ======== ======= verb tha is/are/am pronoun i she (noun) (adverb) adjective fuar cold (conjunction) The program has picked the verb tha, the pronoun i and the adjective fuar. It generates the sentence and the answer in second language (English) joining all words together separated by spaces. The sentence tha i fuar is then displayed and if the answer, she is cold, is correctly typed in go onto next generated sentence or display error. It has to be noted that the English meaning of the Gaidhlig tha depends on the pronoun ie. tha i means she is whereas tha sinn would mean we are. This is where further rules could have to created to ensure that the correct words used in context are used. Other types of grammar rules specific to languages will need to be included as well. An example of this is lenition in Gaidhlig. To use an example big in Gaidhlig is mor but when with the adverb gle (very) is used with it, the spelling of mor is changed to mhor. As I mentioned, I have only started learning another language so unsure if this program could be used to fully learn the grammar of a language but I can't see why this can't help you master the basics and give you confidence to learn advanced parts of the language with another form of study. In the meantime while I am getting up to speed with C++/KDE libs, I would be grateful for feedback especially any grammar rules specific to languages that would need to be included. (Please note graves accents in Gaidhlig words have had to be removed due to formatting issues) |
Registered Member
|
Apologies for cross-posting. This idea is similar to the one suggested here although it wants it implemented into Parley:
brainstorm.php?mode=idea&i=89608#anchormain I've managed to get some code working using KEduVocDocument library and it has made me realise how inexperienced I am at application development. I think it might be better to implement it as part of Parley with the support of Parley developers so I'm open to working on this idea either as a solo project or as part of Parley. I'm going to post this on the above thread for input to contributors to that idea. |
Registered Member
|
I've written a Python script which does the above but pulls the words from a .kvtml file. The sentences produced can be copied and pasted into the .kvtml file for practice. The script is stored here:
http://kde-apps.org/content/show.php/Pa ... ent=140331 I hope to implement this into Parley and have posted a thread on it's mailing list for ideas and feedback: http://mail.kde.org/pipermail/parley-de ... 00580.html Edit: Was told in the KDE-EDU mailing list it might be better to put it in the kde-apps site so amended link
Last edited by alsaf on Mon Mar 28, 2011 8:48 pm, edited 1 time in total.
|
KDE Developer
|
At least for Lojban tha could work very well, and I want to learn Lojban.
|
Registered Member
|
Congradulate on your success,but it would be more useful if you could post step by step description in detailed format.
|
Registered Member
|
It's far from finished. Just to confirm, have you downloaded the latest version of it which contains the how-to I have written? I have written the how-to with as much detail as possible and going on the assumption that anybody who will use the script is familiar with Parley and it's functions. It would be really helpful if you could please elaborate on any parts of the how-to you don't understand so I can fix. |
Registered Member
|
I posted this in another forum but I thought I'd post it here as well.
Just to give an update on this. I've moved the project to sourceforge and got core functionality working although more testing is required. The next step is to create a GUI for it and work on documentation. The link for it is here: http://languagesentenc.sourceforge.net/ |
Registered Member
|
There is a great learning program called Anki:
http://ankisrs.net/ It is really worth your attention. Don't get me wrong, I'm not opposed to your idea but I think this proposal has nothing to do with desktop environment. Neither yes or no from me |
Registered Member
|
Thanks for Link Apache. I am in the process of developing this idea which will have a GUI and be a companion piece to Parley which is part of the KDE desktop environment. |
Registered Member
|
So you are the developer of this idea. I'm sorry for misunderstanding. I didn't read carefully. If this is the case keep up good work
And you have + from me for sharing your talents with other people. Cheers. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]