Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [WIP] DF WORD Project - Adding 400 words  (Read 6880 times)

Jeoshua

  • Bay Watcher
  • God help me, I think I may be addicted to modding.
    • View Profile
[WIP] DF WORD Project - Adding 400 words
« on: April 28, 2012, 09:25:02 pm »

I am working on extending the language files to include most everything in the Basic English Dictionary, and already have the words that A) are not in the Language Unlocked files yet and B) are thematically alright to go into the game.  IE. No "Computer" or "Helicopter", but most of the rest of the words therein.

Some of the omissions are GLARING actually, like the absense in the raw files for "month" or "industry"... words that Dwarves and Humans would have to use routinely yet are not even translated in the slightest.

Now, here comes the problem...

... It's over 400 words long.

I am going to need some help here to actually create the word definitions and symbol files.  I'd like to do them in the style of "Language Unlocked", with only english-correct grammar.  ie No Rear Adjectives or Adverbs, and no plural compounds at the front.

Who wants to help?  Who wants their forts to be able to be named "The Able-Community of Industry?"  Who wants their squads to be able to be named "The Engine of Change"?  Civilizations named "The Association of Profit"?

If we get this completed, all this and more will actually be possible!

Spoiler (click to show/hide)

Note: Some of these words will not actually be necessary or wanted.  It's a long list and throwing some of them out, on the grounds that a similar word already exists, is perfectly acceptable.  Some could maybe use some adjustment as well, like "Gun" being "Cross-bow"... or "Space" being "Heaven"... then again maybe not.

Pick a word.  One, maybe two... however many you want.  And add the proper tags for it and repost.

http://dwarffortresswiki.org/index.php/Language - Language tokens
« Last Edit: May 17, 2012, 07:26:18 pm by Jeoshua »
Logged
I like fortresses because they are still underground.

DVNO

  • Bay Watcher
    • View Profile
Re: [WIP] Help with extending the language barriers
« Reply #1 on: April 30, 2012, 09:42:18 pm »

Not an English major, but I guess I will be when I'm done with this.


[WORD:BAG]
     [NOUN:bag:bags]
          [THE_NOUN_SING]
     [THE_NOUN_PLUR]
     [THE_COMPOUND_NOUN_PLUR]#Hand-bag?#
   
   [WORD:BASKET]
     [NOUN:basket:baskets]
     [THE_NOUN_SING]
     [THE_NOUN_PLUR]

   [WORD:BEFORE]
     [PREFIX:before]
    
   [WORD:BEHAVIOR]
    [NOUN:behavior:behaviors]
    [ADJ:behavioral]
« Last Edit: April 30, 2012, 10:33:01 pm by DVNO »
Logged
Al mondo mal non e senza rimedio

Reach me via Bitmessage ~ BM-2DC7sWixk2iSKThdX9thhyrxWBeWRXUEv9

Jeoshua

  • Bay Watcher
  • God help me, I think I may be addicted to modding.
    • View Profile
Re: [WIP] Help with extending the language barriers
« Reply #2 on: April 30, 2012, 11:52:22 pm »

Main post updated.
Added DVNO and submissions infos.
Logged
I like fortresses because they are still underground.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #3 on: May 14, 2012, 08:03:25 pm »

-bump-

Come on people, this is a good idea after all.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Moogie

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #4 on: May 15, 2012, 06:03:54 am »

Ahh, I wish I had time to contribute to this. I don't even have time to update Language Unlocked itself. :( But I fully support this effort. Good luck with it!
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Deracination

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #5 on: May 16, 2012, 03:09:55 am »

You want to do a repetitive, objectively-defined task to a large number of items?  Sounds like a perfect job for a program.  I'm looking into using a data dump from OmegaWiki to either format selected words or just create one massive language file, but I'm unfamiliar with SQL.  I'll update if any progress is made with that.
Logged
I don't know what amazed me more, my first self-referencing artifact or an enraged groundhog tearing out my hunter's left eye after being stricken mace-style by a crossbow.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #6 on: May 16, 2012, 09:34:43 am »

But you would need a database to read out the classes... a phyton script could do the writing, but how does it know what is a noun, an adjective and so on ?
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

King Mir

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #7 on: May 16, 2012, 11:25:42 pm »

So the task is to look up each word in a dictionary to determine what part of speech it is? A program could do that...

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #8 on: May 17, 2012, 01:29:53 am »

In that case please be so kind and write this program ?
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

TurkeyXIII

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #9 on: May 17, 2012, 04:11:52 am »

[WORD:MACE]
   [NOUN:mace:maces]
      [FRONT_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_SING]
      [THE_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_PLUR]
      [THE_NOUN_SING]
      [OF_NOUN_SING]
      [THE_NOUN_PLUR]
      [OF_NOUN_PLUR]

I've always thought it a little silly that they have this weapon, but no word for it.
Logged
A medium-sized bird with a distinctive fleshy wattle that hangs from the underside of the beak, and a fleshy protuberance that hangs from the top of its beak called a snood.

Khalvin

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #10 on: May 17, 2012, 03:00:15 pm »

I'm claiming A through C
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #11 on: May 17, 2012, 03:07:04 pm »

[WORD:MAUL]
   [NOUN:maul:mauls]
      [FRONT_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_SING]
      [THE_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_PLUR]
      [THE_NOUN_SING]
      [OF_NOUN_SING]
      [THE_NOUN_PLUR]
      [OF_NOUN_PLUR]

[WORD:ZWEIHANDER]
   [NOUN:zweihander:zweihanders]
      [FRONT_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_SING]
      [THE_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_PLUR]
      [THE_NOUN_SING]
      [OF_NOUN_SING]
      [THE_NOUN_PLUR]
      [OF_NOUN_PLUR]

[WORD:HALBERD]
   [NOUN:halberd:halberds]
      [FRONT_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_SING]
      [THE_COMPOUND_NOUN_SING]
      [REAR_COMPOUND_NOUN_PLUR]
      [THE_NOUN_SING]
      [OF_NOUN_SING]
      [THE_NOUN_PLUR]
      [OF_NOUN_PLUR]

@OP: I think if you give some templates for nouns, verbs and adjectives then people would have it easier filling them out with appropriate words.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

King Mir

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #12 on: May 17, 2012, 03:15:38 pm »

In that case please be so kind and write this program ?
I've got other things to do than work on somebody else's Mod. Like play the new release, or try to coax a TrueType font to be 16 by 16.

But I can describe how to do it. libcurl can be used to fetch a webpage. A webservice works better, since it'll give you xml, but I don't know of a free dictionary webservice. Then use parse the page using regular expressions, an XML or HTML parser as needed. Regular expressions are probably sufficient. Python is a good choice for a language.

Khalvin

  • Bay Watcher
    • View Profile
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #13 on: May 17, 2012, 03:25:51 pm »

YOU would't be upset If I added a few more words would you?

Such as
[WORD:COB] --a male swan. --a short legged horse --a building materiel made of mud and straw
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [WIP] DF WORD Project - Adding 400 words
« Reply #14 on: May 17, 2012, 03:31:22 pm »

@King Mir: Excuse me, but I am just a modder, not a programmer. I cant write Python... but I understand what you mean.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::
Pages: [1] 2