normalize text: strip whitespaces, add missing dot