ezura / spell-checker-for-swift

This command line tool can check spelling and show proposed correction.
MIT License
74 stars 9 forks source link

Type name false report #18

Open Ahmad-Atef-Ali opened 4 years ago

Ahmad-Atef-Ali commented 4 years ago

I have a normal type named something like WeatherHistory without typos included, typokana reports this as a typo. This shouldn't be captured as a typo from the beginning otherwise, I've to add all the new types I introduce to .typokana_ignore file. I think the logic for SpellVisitor needs to be updated covering the new type names.

ezura commented 4 years ago

@Ahmad-Atef-Ali How about using --language option? For example typokana --language en_US .