trochee: (pedant)
[personal profile] trochee
My labmate S. has been after me to fix a bug for him for oh, six weeks.

i finally had a little time to tackle his bug (after a visit to the Ling department to turn in my fellowship applications) and was able to figure out what was wrong -- at last!

Here's what happened:

The code S. was using was code I developed to synchronize ten or so different annotations of the same speech corpus: one describes words, one describes syntactic structure, another annotates disfluencies and speech acts, another annotates prosody, etcetera etcetera ad nauseam (and I do mean ad nauseam).

Here's one of the gotchas:

syntactic annotation wants to treat a sequence like "I'll do it" as four words:

(S
  (NP I)
  (VP
    (Aux 'll)
    (VP (V do) (NP it)))
However, phonological annotation (speech recognition transcripts etcetera) would really like to treat it as three: I'll + do + it.

Both sides have their logic. To align these files, i had to make a hand-built list of syntax "words" that should be mooshed together with the previous word. Here's my list: n't 's 'S -s 'd 're 'll 'm 've '

But I'd missed one: na, as in "gonna". That meant that when I was trying to align the phonological words, I had an extra syntactic word (either "gon" or "na" depending on the mood of the dynamic-programming alignment when it reached that point) that had no corresponding phonological word. And there was much lamenting in the code.

Hooray that it's fixed now! Hoping that S. doesn't find any more of these.

Re: Poetry

Date: 2006-03-28 10:22 pm (UTC)
From: [identity profile] trochee.livejournal.com
it was a distant allusion to "and there was much rejoicing", but I think insane computer guy works too.

and it's certainly believable that insane-computer-guy makes references to The Holy Grail.

Re: Poetry

Date: 2006-03-28 10:24 pm (UTC)
From: [identity profile] boobirdsfly.livejournal.com
I see the allusion. but that doesn't even matter...
the sentence itself is gold.

Profile

trochee: (Default)
trochee

June 2016

S M T W T F S
   1234
567 89 1011
12131415 161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 29th, 2026 08:37 am
Powered by Dreamwidth Studios