Displaying 1 result from an estimated 1 matches for "myfile_12".
Did you mean:
myfile_1
2009 Mar 30
1
Retrieving the context
...tring),sep="_"))
> mydf
strings word_id
1 This myfile_1
2 is myfile_2
3 a myfile_3
4 text myfile_4
5 string, myfile_5
6 wich myfile_6
7 is myfile_7
8 stored myfile_8
9 in myfile_9
10 the myfile_10
11 file myfile_11
12 myfile myfile_12
Now, I would like to see all the words 'is' in a user defined window: so
see_context("is",mydf,1) would give
This is a
wich is stored
and see_context("is",mydf,2) would show two words before and after.. and so
on.
Any ideas on how to solve this kind of problem in R?...