* Manually and naively count doc->tf for the given word sequence.
*/
private IntIntOpenHashMap countManually(PreprocessingContext context, int [] phraseWordIndices)
{
IntIntOpenHashMap tfByDoc = new IntIntOpenHashMap();
AllTokens allTokens = context.allTokens;
outer:
for (int i = allTokens.wordIndex.length - phraseWordIndices.length; --i >=0 ;)
{
for (int j = 0; j < phraseWordIndices.length; j++)
{