You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there will be two matches in the following sequence:
abc abc dfg
The first match:
abc abc dfg
The second match:
abc dfg
The second match should not occur, and we should not allow matching the rule as soon as the longest match is already found. The file that needs to be changed is PatternRuleMatcher.java, and there are tests that should pass in languagetool-core under resources for the demo (xx) language in the grammar.xml (the test with the first FIXME).
Requires: knowledge of Java
The text was updated successfully, but these errors were encountered:
For a rule:
there will be two matches in the following sequence:
abc abc dfg
The first match:
abc abc dfg
The second match:
abc dfg
The second match should not occur, and we should not allow matching the rule as soon as the longest match is already found. The file that needs to be changed is PatternRuleMatcher.java, and there are tests that should pass in languagetool-core under resources for the demo (xx) language in the grammar.xml (the test with the first FIXME).
Requires: knowledge of Java
The text was updated successfully, but these errors were encountered: