Commit 73891cc
fix(extract): recognize an adverb in 'governed exclusively/solely by …'
A manner adverb ("exclusively", "solely", "only", "entirely") routinely
sits between "governed" and "by", and the rigid `governed\s+by` token
dropped the entire clause — so CHOICE-001 reported "no governing-law
clause" on a document whose Governing Law section plainly names one. Both
the "laws of X" (GOV_LAW) and adjectival "X law" (GOV_LAW_ADJECTIVAL)
patterns now accept the optional adverb via a shared GOVERNED_BY
fragment. The adverb does not change the clause's meaning, so this only
widens matches; no corpus/fixture uses the form, so goldens are
unchanged. Adds 4 tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f6f6c8f commit 73891cc
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | | - | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
0 commit comments