Skip to content

Commit

Permalink
fix past simple phrasal verb deinflection
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Apr 8, 2024
1 parent a1f11cf commit f62eee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/js/language/en/english-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const phrasalVerbInterposedObjectRule = {
return term.replace(new RegExp(`(?<=\\w) (?:(?!\\b(${phrasalVerbWordDisjunction})\\b).)+ (?=(?:${particlesDisjunction}))`), ' ');
},
conditionsIn: [],
conditionsOut: ['v']
conditionsOut: ['v_phr']
};

/**
Expand All @@ -87,7 +87,7 @@ function createPhrasalVerbInflection(inflected, deinflected) {
deinflect: (term) => {
return term.replace(new RegExp(`(?<=)${inflected}(?= (?:${phrasalVerbWordDisjunction}))`), deinflected);
},
conditionsIn: [],
conditionsIn: ['v_phr'],
conditionsOut: ['v_phr']
};
}
Expand Down

0 comments on commit f62eee7

Please sign in to comment.