Added information about the profiles directory.
Added langdetect dependency.
Now takes as input a directory; changed logic to account for language detection.
Removed some debugging steps; made containsHtml more compact; added English detection; method to removed extraneous whitespace.