+ Reply to Thread
Results 1 to 8 of 8

Programming to conjugate verbs

  1. #1
    Registered User
    Join Date
    12-25-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    2

    Programming to conjugate verbs

    Hello,
    I've used Mathcad and matlab before and I think I'd be able to do it with those. But since it's the break, the labs closed so I'm using my computer which only has excel 2010.

    I'm trying to make a sheet that will conjugate verbs. If I type in a verb, such as dělat, it will spit out several matrices with headers such as Present, Past, etc with the verb conjugated below.

    Is there a way to make the argument(Not in excel language) if(last two letters = at, use these 6 endings and spit out this matrix, if last two letters=et or ět, use etc. etc.)

    My excel programming is very limited.

    Thank You,
    DJakob

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Programming to conjugate verbs

    Please see attached book, note you will have to enter a case for accented and un-accented words!
    Attached Files Attached Files
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Programming to conjugate verbs

    How about this (used squiggler47 attachment and add orange cells)...

    Define somewhere list of all prefixes:
    Attached Files Attached Files
    Never use Merged Cells in Excel

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Programming to conjugate verbs

    I'm assuming that all the endings may not be 2 letters long!

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Programming to conjugate verbs

    Here is 2nd attempt...

    So far it fails only for words with repeating (like haha in hahahaha).

    Hope there is no much those words...
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Programming to conjugate verbs

    I also assumed the chance of repeated letters!

  7. #7
    Registered User
    Join Date
    12-25-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Programming to conjugate verbs

    Thank you both! These are great! I was trying to figure out the codes this morning and they make sense, I just don't know the excel functions!
    I have another question though, what if for a tense, a word comes at the beginning and then the verb gets conjugated.
    For example, for future tense the 1st person is budu dělat, 2nd is budeš dělat.

    If you go to this wikipedia verb conjugation chart and click show for the first class. That is what I'm trying to go for.

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Programming to conjugate verbs

    Hi DJakob,

    my example is made to include several words.. Only you need to add few columns and extend formula... So you can write few words in each cell.

    But you will have lot of problem with that:

    1st. If you don't define word you'll get #N/A
    (which may be fine and tell you to define word in a A and B column)

    But next things become harder

    2nd you can not define several instance for same word.. For example you can not have:

    Please Login or Register  to view this content.
    because it would always look for 1st defined instance and can not determine what you wanted to say.

    It's the reason why Google translator can not be specific (or it's too hard to make it) when translating... I know that for Czech because it's similliar for Croatian.

    I když bylo jasné

    P.S. It's not bad to see that this give you best fit... So in example delat change to delam, and not at to atc
    Attached Files Attached Files
    Last edited by zbor; 12-26-2010 at 02:35 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1