Skip to content
Discussion options

You must be logged in to vote

Would it be reasonable to add a rule to treat commas as conjunctions?

The dependency parser isn't rule based. The way it works it by looking at a lot of example sentences, it learns a statistical model that it uses to make decisions about how to classify things. This means that we can't "fix" or control specific instances, because everything depends on everything else. See #3052 for some details on that.

You can manually edit the dependency parse, so if your conditions are regular enough, you can write code to edit things to be the way you want. For long range dependencies like this it might be hard though.

The reason is that when Google Translate converts it into Japanese, the result …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lll-lll-lll-lll
Comment options

Answer selected by lll-lll-lll-lll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / parser Feature: Dependency Parser perf / accuracy Performance: accuracy
2 participants