training and testing files: unknown words trimming