srt.search {SRTtools} | R Documentation |
Search Index By KeyWord
Description
Return the subtitle index by specific keyword
Usage
srt.search(srt, key_word)
Arguments
srt |
vector. The srt file read by |
key_word |
character. The key word want to be searched in subtitles. |
See Also
Examples
srt_path <- system.file("extdata", "movie.srt", package="SRTtools")
srt <- srt.read(srt_path, encoding = 'utf-8')
srt.search(srt, key_word = "captain")
[Package SRTtools version 1.2.0 Index]