PDA

View Full Version : WordBuilder 1.2



Alfar
09-23-2009, 04:14 PM
Download at the usual spot.

New features:

* Export word list to DPP DrawPlus image format
* Translator uses your dictionary to translate marked up sentences into your language
* Token frequencies: 4[i] in a token list replaces i i i i.
* Translate command supports token set matching using $token_set_name as well as in-place token sets using [token token token]. Also supports [tokenA 5[tokenB] tokenC] in the replacement part of a translation rule.
* Add words to dictionary directly from the generated word list.

Thanks for the support and encouragement so far.

Ascension
09-23-2009, 05:31 PM
I've yet to get this but, dude, I admire your tenacity to stick to it and make it right...that's a very good thing. I will get it when it's finally done but I don't have a real need right now. Keep up the good fight, my friend and know that I'm at least keeping an eye on ya :)

Steel General
09-23-2009, 06:14 PM
Good to see you continuing to work/improve this. Like Ascension I have yet to try it, but I'll get there someday... :)

Alfar
09-24-2009, 03:09 AM
No worries. I didn't expect a huge following in the first place, so it's pretty cool to get any feedback at all.

I'm looking to see if I can make a function to open an svg and fill in text areas with generated words. That'd be pretty nifty I guess. Also, maybe I'll make a command line version to allow it to work as a plugin in InkScape ;)

Other than that, my work is focused on making short-cuts so that I can accomplish the same things I can now, but with shorter scripts. One thing I'm working on is:



rule Word {
loop 1 2 2 5[3] 4[4] 5 5 6 {
rule Syllable
}
}

Which would run the syllable rule a number of times between 1 and 6, and with 3 syllables 5 times as likely as 1 syllable. This can be done already, using the probability setting on mutliple rules with the same name, but that's quite a bit of code compared to the above.

waldronate
09-24-2009, 05:33 AM
I will get it when it's finally done

Software can be done? Huh, I did not know that...

Alfar
09-24-2009, 06:41 AM
Software can be done? Huh, I did not know that...

I think he was using that fact to let me down gently. Thanks for spoiling it ;)

su_liam
09-24-2009, 02:28 PM
Software is done when obnoxious people stop making feature requests. Or the programmer decides he's done with it.

@Alfar This program just keeps getting better, tres bien!

Ascension
09-24-2009, 08:01 PM
No no, not letting you down at all. I read every post on the site (I'm a bit anal like that) so I've followed every bit so far. If I can ever get back to making maps for me then I'll need some town names and I'll certainly be getting this and giving it a test drive. Just saying that I appreciate what you're doing but won't have any real feedback for a while :) Cheers, mate.

Alfar
09-25-2009, 02:53 AM
Yeah well, I finished the loop command yesterday, and started playing with making an InkScape extension. Having some trouble with getting the output right, it seems, and the documentation is kinda hazy... Not that I should complain, considering WordBuilder's docs ;)

Anyhow, I think it'll be pretty easy to fix once I get another couple of hours into it, and we'll be able to select a bunch of text boxes in InkScape and have them populated using WordBuilder rules.

Alfar
09-27-2009, 03:51 PM
Oh brother... this is stupid.

I worked and workd on getting the output right for my WordBuilder inkscape extension. Can't figure out why it won't work by calling my .exe directly, but I guess I'm doing something terribly wrong.

However, I've managed to make a python script that invokes my exe and routes my app's stdout to the script's stdout, and that works. Huh.

Anyway, only a short way to go now, really.

Ramah
09-30-2009, 11:25 AM
Right, finally got round to downloading this and giving it a try. I haven't tried creating my own wordo file just yet but I can see generally how it is done and I have to say I am very impressed. :)

If I have two little nitpicks they would be:

1) When you release a new version in a new thread then you ought to provide a link. It's not hard for me to go find the other thread to find the "usual place" but it as this was my first time of downloading I was unsure I was correct. Not a nitpick at all really. But I'm still not sure I was correct because...

2) There seems to be no "about" box where I can check the version number etc. Not a massive complaint at all, but as I say, I'm not sure I even have version 1.2 as the filename doesn't include it either.

So, not nitpicks at all. Just not as idiot-proof for newbies as it could be.

Still... have what little rep I can give you. :)

Ramah
09-30-2009, 04:04 PM
Yay for Wordbuilder!

It has come up with the most genius yet supremely simple name for a desert that I can't believe I've never heard before...

Sandland!

Rest assured this name will be used on a map as soon as I get one with a sandy region. :)

waldronate
09-30-2009, 05:46 PM
The desert of Sandbox: "All I see are miles of empty sand, a huge sphinx, and some hills in the distance. Wait, those aren't hills... Eeewwwwww!"

Juggernaut1981
09-30-2009, 06:43 PM
Does the Desert of Sandbox also have a rope fence around it saying "Closed by Health Inspectors. [insert fine print citing syringes, cat poo and possibly a buried dead ferret]"???

Alfar
10-01-2009, 02:42 AM
Yes. Ramah, I'm sorry about that. I copy pasted the text from my blog post and I was in a bit of a hurry, so I forgot to add the link back in.

For reference, the usual place is http://whee.dk/wordbuilder/WordBuilder.msi

And I've been meaning to add an about box, it'll get there before next release. Maybe, just maybe, I'll put in a way to check for new versions as well.

I'm glad you had some success using WordBuilder after all ;)

ravells
10-01-2009, 04:20 AM
The Drawplus export rocks! Now all I need is some time to really play with this baby. Time's been very short of late.

Alfar
10-01-2009, 04:28 AM
Glad you like it. ;)

How's parenthood working out for ya, Ravs?

ravells
10-01-2009, 09:08 AM
It's fab but very, very tiring. I've also had a lot of work to get through and working from home with a toddler in the house is next to impossible...

Alfar
10-01-2009, 04:27 PM
And a new version is out! 1.3!

Download here: http://whee.dk/wordbuilder/WordBuilder.msi

New features:

* Substring command: substring <start> <end>

Where start is the first letter you want to keep, and end is the last letter you want to keep. Negative numbers count from the end of the token.

So, with the token ‘abcdefg’:

substring 2 -1 // bcdefg
substring 1 2 // ab
substring 1 -2 // abcdef
substring -3 -1 // efg

* About box
* Inkscape extension to populate selected text objects with generated words – in the install dir, there’s a folder called InkScapeExtension. Copy the content of that folder to your InkScape/share/extensions, and look under Effects/Text.

Ramah
10-01-2009, 06:35 PM
Great stuff. :)

Look forward to testing out the substring command tommorow. That was really fast work.

Alfar
10-02-2009, 02:25 AM
You got lucky and got your request in on a day where I had time to actually work on WordBuilder. Things are a bit hectic at home these days, because we're renovating the pantry/back entrance, and we're preparing for a trip to Berlin, Germany ;)

Looking forward to seeing some results - and some scripts ;)

ravells
10-02-2009, 05:13 PM
Just need to let work let up a bit...and I'll oblige.

Alfar
10-05-2009, 03:08 AM
Hm.. I had some fun with InkScape, generating names with the extension, but I've found that it's a bit of a bother to have to make text-on-path objects for it to generate into. So for the next version, I've added functionality to put text on selected paths that have no text attached, so if there's text on a path, that text will be filled, if there's no text on it, a new text-on-path will be created.

Also, I'm working on a word-editor for the dictionary, where you can manually add tokens, apply rules, branches and marks.