Description Usage Arguments Details Value References See Also Examples
dc_oh
- Extract oh discourse connectors (a marker Schiffrin (1987)
terms a marker of "information management") in context.
dc_oh_begin
- An extension of dc_oh
that requires the "oh" to
come at the begining of the word.
1 2 3 4 5 6 7 |
text.var |
The text variable. |
grouping.var |
The grouping variables. Also takes a single grouping variable or a list of 1 or more grouping variables. |
n.before |
The number of rows before the indexed occurrence. |
tot |
logical. If |
n.after |
The number of rows after the indexed occurrence. |
ord.inds |
logical. If |
markup |
A character vector of length two indicating the left (element
1) and right (element 2) boundary markers to use to highlight the oh
discourse connectors. Use |
name |
A string indicating the name to search for within the internal data sets, typically the function's name. Generally, for internal use. |
inds |
A list of integer indices to print context for. |
... |
Other arguments passed to |
"Oh" is seen as an “exclamation or interjection” (p. 73). Schiffrin (1987) considers broad functions of the use of "oh" in (a) “repairs”, (b) “question/answer/acknowledgement sequences”, (c) to “mark a shift in the speaker's orientation to information”, and (d) to shift “subjective orientation” (pp. 74-98).
An internal function in dc_oh_begin
ensures that each line has no more
than n words before the "oh". The defaut number of words is 0 or less. This
can be changed by supplying an argument to n
via control
. For
example to set the number of words to 2, use: control = list(n = 2))
.
Returns returns a list of 2:
counts |
A |
oh |
A |
Schiffrin, D. (1987). Discourse markers. (pp. 73-101). London: Cambridge University Press.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.