fixed two issues:
- handling of the very few document with sentences with no dependencies
- indentation of n-gram feature extraction was wrong and was only being done for the last sentence in each document