hearst abbreviation detection algorithm