coli-saar / alto

Alto, the Algebraic Language Toolkit
Other
16 stars 2 forks source link

SortedLanguageIterator computes MANY items #10

Open akoehn opened 9 years ago

akoehn commented 9 years ago

Original report by Alexander Koller (Bitbucket: akoller, GitHub: alexanderkoller).


Parse "Pierre Vinken , 61 years old , will join the board as a nonexecutive director Nov. 29 ." with binarized.irtg from the PTB tutorial and open the language window. This will take several seconds to initialize the SortedLanguageIterator. It derives millions of items, despite the fact that we are only looking for the 1-best item and the parse chart only has 60000 rules. Something's wrong here, we should fix it.