src-d / style-analyzer

Lookout Style Analyzer: fixing code formatting and typos during code reviews
GNU Affero General Public License v3.0
32 stars 21 forks source link

Add expand_vocabulary method to the corrector #696

Closed irinakhismatullina closed 5 years ago

irinakhismatullina commented 5 years ago

Super small feature: expand the vocabulary in the corrector.

After adding new tokens to the vocabulary through this method, model:

For now i believe that this never-suggest-corrections-for-me set must be held in analyzer (will be implementer in the upcoming PR). But we can also try different configurations in the future.