2012-02-15
I worked on translation.py.
I spent a lot of time staring at the Tutorial Workbook (Knight) and working on my code.
So far it's just got Model 1. And it's buggy... somewhere. I think I tried to be too general and got messed up somewhere in the code. I have an idea where that might be.
Reading
Stanford CS224n's Lecture 6: More SMT, Phrase-based, using syntax trees. Quick overview of translation applications/programs widely available since late90's.
in class with Jim
From Knights notes, it looks like the starting point for his toy is
# corpus of english/french sentences as
# list of pairs [english_sentence, french_sentence]
sentence_corpus = [ [["b", "c"], ["x", "y"]],
[["c"], ["y"]],
]
sentence_corpus = [ [["older", "brother"], ["aine", "frere"]],
[["brother"], ["frere"]],
]
Starting here, try again. Be clear about inputs/outputs for each function.