-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DependencyMatcher documentation #4433
Comments
Hi @fabio-reale : it would be awesome to get some help to get this properly documented. I haven't used the DependencyMatcher myself yet either, but I'd be happy to dig through this code together with you. As I understand it, the different operators refer to the kind of grammatical relations that can exist between tokens. E.g. |
I also saw that there's a We should probably also look into the reason why |
@fabio-reale You could have a look at these pull requests and go over the referenced links within them.
@svlandeg Yes, we would need to get this documented. We would be requiring a few real world examples to use and help concretize everything. |
Hi @skrcode! Do you have some real-life examples yourself? I think it would be great to get this documented because I'm sure a lot of people could use this functionality. We should think of some example cases to include in the docs, and include the same cases in the test suite. Over the past few months, we've been fixing quite a few issues with the |
@svlandeg Unfortunately, I do not have any real-life examples for this; although probably samples from Semgrex could work just as fine for the purposes of documentation. Some analyses of run-time, memory usage and correctness would also be required and the real-life examples would help out to a great extent here. I think that @cyclecycle was using this functionality and could probably be able to give a much better idea on how it has been faring so far. |
Thanks for both your responses, they are being useful in understanding the DependencyMatcher. I'll write some tests to make sure I understand it well enough before trying to write any documentation for it. About real-life examples, I might come up with a few, but they would all be uses for the Portuguese language. |
I believe I can actually use the DependencyMatcher in a project I am currently working on. |
@DeNeutoy has recently created this whole blog post on the dependency matcher: http://markneumann.xyz/blog/dependency-matcher/ It would be great if we can get this distilled into a version for the spaCy docs. PRs welcome! |
The upcoming spaCy v3, currently available as The documentation is here: https://nightly.spacy.io/usage/rule-based-matching#dependencymatcher, and will be moved to the main docs once v3.0 is out officially! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I would like to use the DependencyMatcher, which I learned to exist reading this issue. There, I also learned there is no documentation for it.
I figured I would learn it from the code and testing, which I might end up doing, but I also figured I could try and ask for some help. I'm having some difficulty understanding what all of the operators are supposed to do (these ones for example: ">>", ".", "$+").
Once I get it, I fully intend to help with this documentation the best I can. So, any help or advice about either the DependencyMatcher or how to contribute to documentation are welcome
Which page or section is this issue related to?
I assume the correct place for this documentation would be rule based matching page
The text was updated successfully, but these errors were encountered: