I have 37 files of different sizes, containing a total of 7 million words.
I want to estimate the frequency of each word in the corpus.
Let's say I find the word "Cranberry" only twice in the corpus, then it would be naive to state the frequency of this word as 2/7000000. This is because the odds are very high that I could, for another corpus establish a frequency of 0/7000000 or 4/7000000 for the very same word. So in other words, the statistical error for estimating the frequency increases as the frequency of a word decreases. Is there a way of estimating how great the statistical error is? For example, lets say I was to say that "the" occurs 405139 times in the corpus, how accurate is it to say that the frequency of the word "the" in the English language is 405139/7000000? Does it help, if I present the frequency of "the" in each of my 37 files?
219/3293
992/15072
321/4792
358/6736
147/1819
388/4047
312/6567
349/7182
735/11233
5789/118655
18359/300927
236/2677
91/1135
1664/26761
585/9709
477/10414
248/3253
238/3857
41634/670576
1703/34261
246/3080
69971/1005119
195/5372
1362/25915
896/22999
1186/25515
109/3360
72/1832
203/4261
78673/1363843
67210/1229371
69277/1330254
93/2542
1888/66501
1451/27679
32382/514278
5080/87831
If I only have 2 cranberries in my corpus, how large a corpus would I need to get a reasonably accurate indication as to its frequency?