@Override
	public void map(LongWritable key, Text value, Context context)
		throws java.io.IOException, InterruptedException {
		String[] sentences = FoscIndexing.sentences(value.toString());
		for (int i = 1; i < sentences.length-1; i++) {
			StringBuilder sb =  new StringBuilder();
			String[] words = FoscIndexing.words(sentences[i]);
			for (int j = 0; j < words.length; j++) {
				if(words[j].matches(REG_NAME) && ((j + 1 < words.length &&
						firstNames.contains(words[j + 1].toUpperCase()) && 
						words[j + 1].matches(REG_NAME)) || firstNames.contains(words[j].toUpperCase())))
				{
					j++;
					outKey.set(sb.toString());
					context.write(outKey, ONE);
					sb = new StringBuilder();
				}
				else
				{
					sb.append(words[j]);
					sb.append(" ");
				}
			}
		}
	}