search_transcript_content {act}R Documentation

Search in original content of a single transcript

Description

Search in original content of a single transcript

Usage

search_transcript_content(t, s)

Arguments

t

Transcript object; transcript to search in.

s

Search object.

Value

Data.frame data frame with search results.

Examples

library(act)

# Search for the 1. Person Singular Pronoun in Spanish.
# Only create the search object without running the search.
mysearch <- act::search_new(x=examplecorpus, pattern= "yo", runSearch=FALSE)

# Run the search

df <- act::search_transcript_content(t=examplecorpus@transcripts[[3]],
s=mysearch)
nrow(df)

[Package act version 1.3.1 Index]