Skip to content

Commit

Permalink
fix deinflection on past simple of english phrasal verbs (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 authored Apr 9, 2024
1 parent ae10975 commit 0ca56ec
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 0ca56ec

Please sign in to comment.