Skip to content
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

Fix typos ; Update README.md #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ tokens[,c('doc_id','sentence','token','clause','clause_fill')]
```

In the output we see that “Mary Jane” is labeled as subject, “loves” is
labeled as verb, but also that ALL the rest is labeled as object,
labeled as verb, but also that ALL the rest is labeled as verb,
including “, and Mary is loved by John”. The reason for this is that by
default, rsyntax will label all children of a matched token with the
same label. We call this behavior the “fill” heuristic. In the
Expand All @@ -157,8 +157,8 @@ would be to control what specific nodes to fill by nesting the `fill()`
function. For example, we can say that for the subject and object we
only want to ‘fill’ the tokens that form a multiword expression (MWE).
In Universal Dependencies this is indicated with the ‘flat’, ‘fixed’ and
‘compound’ relations (see the (Universal Dependencies Relations
table)\[<https://universaldependencies.org/u/dep/>\]). Here we use the
‘compound’ relations (see the [Universal Dependencies Relations
table](https://universaldependencies.org/u/dep/). Here we use the
fill function to specify that we only want to fill tokens where the
relation has one of these values. Note that specifying lookup values in
`fill()` works in the same way as in the `children()` function.
Expand Down