co_occurrence_fn
will automatically extract sentences with co-occurrence of two sets of terms.
co_occurrence_fn(terms1, abs, filename, terms2)
A text file.
a character vector of terms.
an S4 object of class Abstracts
a single character, filename
a character vector of terms.
S.Ramachandran
Sentences with co-occurrence of two terms will be extracted along with the corresponding PMIDs. The data will be written in a text file with the user given filename and the word co_occurrence will be suffixed to it.