search_transcript_content: Search in original content of a single transcript

View source: R/search_transcript_content.R

search_transcript_contentR 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)

act documentation built on June 7, 2023, 6:16 p.m.