Tag beneath, underneath and aboard as prepositions before an object

This commit is contained in:
dualfroz committed 2026-10-03 01:05:44 +02:00
1 parent 89767d1cc6
commit 80bc4a141e
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ export default [
// The cat slept [under] the table. He sat [beside] me.
// the plane flew well [above] the clouds
// she stood directly [below] the window...
...['above', 'below', 'under', 'over', 'beside', 'behind', 'against', 'outside', 'inside', 'near'].map(word => ({
...['above', 'below', 'under', 'over', 'beside', 'behind', 'against', 'outside', 'inside', 'near', 'beneath', 'underneath', 'aboard'].map(word => ({
match: `[(${word} && !#Verb)] (#Determiner|#Possessive|#Pronoun|#ProperNoun)`,
group: 0, tag: 'Preposition', reason: `${word}-space-obj`,
})),