get_objects | R Documentation |
This function extracts the objects of prepositional phrases
from row and column labels.
The format of the output is a list of
named items, one name for each preposition encountered in labels.
Objects are NA
if there is no prepositional phrase starting
with that preposition.
get_objects(
labels,
inf_notation = TRUE,
notation = RCLabels::notations_list,
choose_most_specific = FALSE,
prepositions = RCLabels::prepositions_list
)
labels |
The row and column labels from which prepositional phrases are to be extracted. |
inf_notation |
A boolean that tells whether to infer notation for |
notation |
The notation type to be used when extracting prepositions.
Default is |
choose_most_specific |
A boolean that tells whether to choose the most specific
notation from |
prepositions |
A vector of strings to be treated as prepositions.
Note that a space is appended to each word internally,
so, e.g., "to" becomes "to ".
Default is |
A list of objects of prepositional phrases, with names being prepositions, and values being objects.
get_objects(c("a [of b into c]", "d [of Coal from e -> f]"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.