Welcome, Guest. Please login or register.


Author Topic: Let's create new Enterprise programs! (Read 3914 times)

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 9926
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Let's create new Enterprise programs!
« on: 2010.February.11. 18:49:40 »
Gflorez, are you sometimes here?
About half a year ago I began to create an IS-BASIC program that conjugates Spanish verbs. Unfortunately I don't have time to go on with it so I decided to show how it is now.

You can enter any Spanish verb but the program actually conjugates only those with "-ar" ending and only in 3 tenses: Indicative present (Presente de indicativo), Subjunctive present (Presente de subjuntivo) and Past continuous (Imperfecto). The program recognises some irregular verbs, too, but actually confuses the verbs and deals also some regular verbs as irregular. (Eg. conjugation of "comprar" will have awful results.  :oops: ) The program handles also reflexive verbs.

[ Guests cannot view attachments ]

It would be a very interesting task to continue this program. Probably all the irregular verbs should be added to the database in order that the program conjugate all the Spanish verbs correctly, if it is possible at all...
But certainly there are some programs for other platforms that conjugate verbs either in Spanish or in other languages.
« Last Edit: 2010.February.13. 15:36:13 by szipucsu, Reason: deleting old version of program »
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 9926
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Spanish verb conjugator
« Reply #1 on: 2010.February.12. 14:17:32 »
Conjugation of some regular "-ar" verbs (eg. "comprar") has been fixed. (See the DATA lines 430-440 for the verbs that don't change "o", "u", "e" letter in present tenses. Collect more please, if you can.)

I don't know if it has any sense to write this program, however I sometimes write some more lines to it. :D

This or rather this can help to test the program.

More improvements (12-13 Febr):
- all verb groups (-ar, -er, -ir) are "supported" but a lot of verbs are not yet conjugated properly
- Hopefully all the verbs are conjugated properly in "imperfecto"
Troubles:
- Accents don't always appear or not properly.
- "Empezar" and "venir" are conjugated differently in the subjunctive present. How can be the difference made in the program? ("Empezar" has 2 roots but "venir" has only 1 one. Irregular verbs but without vocal change in indicative present sing 1 person should be marked somehow: vengo; venga; !vengamos!; but empiezo; empiece; !empecemos!)

Improvements of 14 February:
- "Empezar" and "venir"-like verbs are both conjugated properly in the subjunctive present
- Some irregular verbs in indicative and subjunctive present tenses have been added.
Next step would be:
- decir -> dices (not dieces)-like verbs should be handled properly.

Improvements of 19 February:
- "ie" and "i" ablaut verbs (such as decir -> dices-like verbs) are both conjugated properly in indicative present: -ar and -er verbs with an "e" in the root are handled as "ie" ublaut verbs, -ir verbs with an "e" in the root are handled as "i" ablaut verbs. Two exceptions have been added: venir (ie) and sentir (ie). More exceptions?
- in subjunctive present both two-rooted and one-rooted verbs are handled properly, hopefully (eg. empezar and venir)
- some irregular verbs have been added (eg. "ser" completely)
- -uir (-> -uyo, uyes, uye; uimos, uis, uyen) verbs are handled properly
- According to the last 4 letters of the infinitive, certain verb groups are handled properly:
  -acer, -ecer, -ocer, -ucir get -zco ending in 1st person singular of indicative present. Exceptions are not handled - are there any at all?
  -alir, -aler get a "g" before the ending in 1st person singular of indicative present. Exceptions are not handled - are there any at all?
Further projects:
- derivative verbs from venir and sentir also should be taken in consideration as exceptions in not "i" but "ie" ablaut verbs in the indicative present as -ir verbs (eg. intervenir, consentir).
- derivative verbs of verbs without vocal change should be handled properly
- Totally irregular verbs in indicative and subjunctive present tenses should be added.
- Estar and some irregular (and all the) verbs should contain accents where needed.
- More exceptions for the programmed rules should be searched for.
« Last Edit: 2010.February.19. 19:23:53 by szipucsu »
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos

Offline gflorez

  • EP addict
  • *
  • Posts: 3610
  • Country: es
    • Támogató Támogató
Re: Let's create new Enterprise programs!
« Reply #2 on: 2010.February.20. 21:57:27 »
Hello szipucsu.

May I help you?

Seems very interesting. Precisely, now my daughter is studying this at the school!

I will run it now.

Thanks

Offline szipucsu

  • Global Moderator
  • EP addict
  • *
  • Posts: 9926
  • Country: hu
    • Támogató Támogató
    • Webnyelv.hu - Tanuljunk nyelveket!
Re: Let's create new Enterprise programs!
« Reply #3 on: 2010.February.20. 22:41:08 »
May I help you?

Yes, of course! I am looking forward to hearing what you think about it.  :ds_icon_cheesygrin:
I have some Spanish books where I can find a lot of rules about conjugation so maybe I know what has to be done in the future but your help is really important.

I didn't insert any REM (or !) lines into the basic program, I hope you can easily "guess" how it works. Or shall I explain?
The first DATA lines contain the verbs that don't modify their vocal in the present tense (so verbs without "i", "ie", "ue" changes)...
100 SOUND SOURCE 2,STYLE 128,PITCH 25.2,SYNC 1
110 SOUND PITCH 25,SYNC 1
120 ! Videos