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
Hello, I am not sure if I am using the functionality correctly.
import language_tool_python tool = language_tool_python.LanguageTool('en-US') matches = tool.check('This are bad.')
This gives two matches for the errors. one for this -> these and the other for are -> is.
Both matches are dependent on each other, as only of them can be applied.
But when I run language_tool_python.utils.correct('This are bad.', matches)
I get 'These is bad.'
Is there any way to check which matches should be applied?
Possible Solution:
One way I can think of is to apply each correction progressively and reapply the language tool each time. If this is the way, why isn't this
implemented by default?
The text was updated successfully, but these errors were encountered:
Hello, I am not sure if I am using the functionality correctly.
import language_tool_python
tool = language_tool_python.LanguageTool('en-US')
matches = tool.check('This are bad.')
This gives two matches for the errors. one for this -> these and the other for are -> is.
Both matches are dependent on each other, as only of them can be applied.
But when I run
language_tool_python.utils.correct('This are bad.', matches)
I get
'These is bad.'
Is there any way to check which matches should be applied?
Possible Solution:
One way I can think of is to apply each correction progressively and reapply the language tool each time. If this is the way, why isn't this
implemented by default?
The text was updated successfully, but these errors were encountered: