Create word-context conditional expression with the
word %|% context
a character vector. Word or words to include as the variable part of the conditional expression.
a character vector of length one. The fixed (or "given") part of the conditional expression.
The intuitive meaning of the operator
%|% is that of the mathematical
| (given). This operator is used to create conditional expressions
representing the occurrence of some word after a given context (for instance,
"you" %|% "i love" would represent the occurrence of
"you" after the string "i love"). The purpose of
%|% is to
create objects which can be given as input to probability() (see
probability for further examples).
word_context class object.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.