Germanic Lexicon Project
Message Board

Home

Texts

Search

Messages

Volunteer

About


[ Main Message Index ]     [ Previous | Next ] [ Reply ]

Author: Keith Briggs
Date: 2004-11-08 05:07:19
Subject: Re: Probabilistic correction

I tried training the system on all corrected (c) and uncorrected (u) BT files.
I'm using dbacl (http://dbacl.sourceforge.net/) as the Bayesian engine.
Then I tried classifying some short lines. Some results look promising, e.g.

c 420.91 u 193.02 tð-hlooen. v. to-hlecan.
c 420.91 u 424.34 tð-hlocen. v. to-hlecan
c 432.46 u 435.39 tó-hlocen. v. to-hlecan
c 454.49 u 556.86 tó-hlocen. v. tó-hlecan

A lower score means a better match. "c 420.91 u 193.02" means roughly:
the probability that the line was generated by the model estimated from the c data is about exp(-421), and the probability that the line was generated by the model estimated from the u data is about exp(-193). So we can see that as I correct the errors one by one, dbacl estimates that it is more likely that the line is correct than not correct.

But I believe this is actually deceptive. It starts well, recognizing that "oo" is unlikely to be correct. But after that, I'm just adding the string "acute", which is known by the model to be very frequently occurring, so the score gets better. dbacl's default model rejects punctuation, and all the letter transitions a->c->u->t->e contribute to a good score. We don't want this - we want to treat á as a single character á, and give it the same weight as other single characters. This means first preprocessing the files (not so hard), and then using dbacl's regular expressions to include characters like á in words. I tried this, but the learning phase gets very slow. Also, we're still left with the problem that we're mixing up several languages in the same model, which makes it struggle to fit any one of them well.

How do I proceed?

Keith

Messages in this threadNameCollege/UniversityDate
Probabilistic correction Keith Briggs 2004-11-04 05:41:11
Re: Probabilistic correction Keith Briggs 2004-11-04 07:49:10
Re: Probabilistic correction Sean Crist Swarthmore College 2004-11-04 22:42:53
Re: Probabilistic correction Keith Briggs 2004-11-05 05:31:16
Re: Probabilistic correction Keith Briggs 2004-11-05 06:59:54
Re: Probabilistic correction Keith Briggs 2004-11-05 07:29:53
Re: Probabilistic correction Sean Crist Swarthmore College 2004-11-05 09:32:30
Re: Probabilistic correction Sean Crist Swarthmore College 2004-11-05 09:48:16
Re: Probabilistic correction Keith Briggs 2004-11-08 05:07:19
Re: Probabilistic correction Sean Crist Swarthmore College 2004-11-08 09:12:45
Re: Probabilistic correction Keith Briggs 2004-11-08 09:46:59
Re: Probabilistic correction Keith Briggs 2004-11-08 10:02:13
Re: Probabilistic correction Keith Briggs 2004-11-08 12:10:56
Re: Probabilistic correction Sean Crist Swarthmore College 2004-11-08 15:26:04
Re: Probabilistic correction Keith Briggs 2004-11-09 06:47:45
Re: Probabilistic correction Keith Briggs 2004-11-09 08:50:46
Re: Probabilistic correction Keith Briggs 2004-11-09 09:43:19
Re: Probabilistic correction Keith Briggs 2004-11-09 10:59:49
Italics (was: Probabilistic correction) Sean Crist Swarthmore College 2004-11-09 13:39:13
Re: Probabilistic correction Keith Briggs 2004-11-11 06:57:20