Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1 2 3 4 
Send Topic Print
Gettysburg: a TB textual analysis experiment (Read 62257 times)
Loryn
Full Member
*
Offline



Posts: 97

Re: Gettysburg: a TB textual analysis experiment
Reply #45 - Jul 14th, 2009, 2:34pm
 
MarkA

Thanks for the correction. Much appreciated.

I think the issue goes back to the creation of the Cleanup Code note.

I've replaced the cleanup code in the article.
I've replaced the cleanup code in the Cleanup Code note in the GettysburgCTR.tbx file that I'm distributing ( http://tr.im/sk6K ).

May I suggest you also make the correction in the Cleanup Code note in the Tinderbox you're distributing?
Back to top
 
 
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: Gettysburg: a TB textual analysis experiment
Reply #46 - Jul 14th, 2009, 4:30pm
 
My file? Ah, that's where the mistake crept in. The tab is there in my TB note holding the sed calls, one just can't see it in the TB text window - actually you can just as there's more white space where the tab should be in line 3 of 4. Copying from there to something else probably causes the tab to be coerced to a space. Using a note to store the code makes it easier to use the actual character, e.g. a tab, rather than a placeholder like \t and thus you escape extra escaping of backslashes to pass out via runCommand. I knew there had to be a gotcha - take care when copying code from such notes! If I copy to BBEdit, the tabs do come through OK.
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Loryn
Full Member
*
Offline



Posts: 97

Re: Gettysburg: a TB textual analysis experiment
Reply #47 - Jul 14th, 2009, 5:02pm
 
OK. So, if your Cleanup Code was correct to begin with, I'll roll back to the previous version of my released file then. I've retained the changes in my article.
Back to top
 
 
  IP Logged
Loryn
Full Member
*
Offline



Posts: 97

Re: Gettysburg: a TB textual analysis experiment
Reply #48 - Jul 15th, 2009, 2:49pm
 
I'm working on writing up the next installment of our Gettysburg experiments. It's taking a little while because I'm looking to increase my experience-base with the techniques prior to publishing. When I release it, it should come with a fuller lexcio-grammatical analysis of the Gettysburg Address.
Back to top
 
 
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: Gettysburg: a TB textual analysis experiment
Reply #49 - Jul 15th, 2009, 5:30pm
 
Thanks in advance! I know write-ups tend to take longer than the reader supposes. Kind of you to share via such detailed reporting.
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Charles Turner
Full Member
*
Offline



Posts: 180
New York, USA
Re: Gettysburg: a TB textual analysis experiment
Reply #50 - Jul 21st, 2009, 8:14am
 
Although it isn't an obscure markup format, I only recently ran across YAML:

http://yaml.org/

(Wikipedia has a nice overview)

http://en.wikipedia.org/wiki/Yaml

It's really nice features are its human readability (and hence writability), and "aliases" that enable many-to-many connections. Given that it's line-oriented, its easily parsed by sed, awk, grep, as well as more sophisticated libraries in Ruby, Python, Perl, etc.

I marked up the first few lines of Gettysburg, which can be found here:

http://www.vze26m98.net/tbx/gettysburg.yml

Best, Charles
Back to top
 
 
WWW   IP Logged
Loryn
Full Member
*
Offline



Posts: 97

Re: Gettysburg: a TB textual analysis experiment
Reply #51 - Jul 25th, 2009, 9:35am
 
I've really been working hard on refining the techniques Jean and Paul demonstrated earlier in this thread. Every time I ran across a limitation, I focused on trying to overcome it. (Otherwise I fear MarkA would eat me for breakfast!)

So, this evening I'm unveiling the first Tinderbox Coding with Footnotes and Links file that I've actually been happy with.

The file, together with reasonably complete user documentation, is available from http://loryn.me/GettysburgCFL

I'm committed to documenting the actual construction of the mechanism soon, although anyone who has actively followed this thread to this point will find the mechanisms pretty self-explanatory.

I am really excited about the completely generic, recursive Nakakoji export template! Lotsa sweat getting it right. (Go grab the file to see!)

http://loryn.me/GettysburgCFL
Back to top
 
 
  IP Logged
Paul Walters
Ex Member




Re: Gettysburg: a TB textual analysis experiment
Reply #52 - Jul 25th, 2009, 12:58pm
 
@Loryn - your TBX sample and the precise documentation on your blog is wonderful.  You significantly advanced the work of this thread.  I agree with Mark B.'s earlier comment that this textual analysis topic would be excellent for a Tinderbox Weekend (and the Cookbook and/or Wiki).  Thanks, Loryn.
Back to top
 
 
  IP Logged
Loryn
Full Member
*
Offline



Posts: 97

Re: Gettysburg: a TB textual analysis experiment
Reply #53 - Jul 26th, 2009, 4:25am
 
You're welcome, Paul. And thank you for your contributions, too.

I've now published my description of The Mechanics !

http://loryn.me/journal/2009/7/26/coding-with-footnotes-and-linksthe-mechanics.h...

A complete description of all the mechanisms, so that anyone can now adapt the GettysbergCFL file to their own textual coding needs.
Back to top
 
 
  IP Logged
Jean Goodwin
Full Member
*
Offline



Posts: 136
North Carolina
Re: Gettysburg: a TB textual analysis experiment
Reply #54 - Jul 26th, 2009, 8:31am
 
Hi, Loryn:  Very nice indeed--you've put a lot of work in, and have a couple of neat solutions to the problems explored in this thread.  I particularly liked the way you used an agent, not prototypes, to assign the necessary rules to the coded text.
Back to top
 
 
  IP Logged
Pages: 1 2 3 4 
Send Topic Print