Commit 7ba6ea3
Recognize "þess í stað" as a fixed adverbial phrase
The static phrase "þess í stað" was commented out in Phrases.conf, so
the three tokens were analyzed separately ('þess' as a genitive
object, 'í stað' as a prepositional phrase), which rarely fits the
sentence; sentences such as "Þess í stað fór hann heim" or "Hann fór
þess í stað að læra" did not parse. Enable the phrase, which then
matches an 'ao' terminal like the other fixed adverbials.
Measured on the unparsed-sentence corpus: 171 of 250 sentences with
'þess í stað' now parse. No change on 1000 previously parsed
news sentences.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent f929431 commit 7ba6ea3
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
| 1368 | + | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2746 | 2746 | | |
2747 | 2747 | | |
2748 | 2748 | | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
2749 | 2766 | | |
2750 | 2767 | | |
2751 | 2768 | | |
| |||
2813 | 2830 | | |
2814 | 2831 | | |
2815 | 2832 | | |
| 2833 | + | |
2816 | 2834 | | |
0 commit comments