| Index: defaults/typoRules.json | 
| =================================================================== | 
| new file mode 100644 | 
| --- /dev/null | 
| +++ b/defaults/typoRules.json | 
| @@ -0,0 +1,20 @@ | 
| +{ | 
| + "version": 2, | 
| + | 
| + "expressions": [ | 
| + // Comma or semicolon instead of dot | 
| + {"find": "[,;]", "replace": "."}, | 
| + | 
| + // Leading or trailing dots | 
| + {"find": "^\\.+|\\.+$", "replace": ""}, | 
| + | 
| + // Only two of the three w's | 
| + {"find": "^w{2,4}(\\.)([^\\.]+\\..*)$", "replace": "www.$2"}, | 
| + | 
| + // Missing the dot | 
| + {"find": "([^\\.])(com|net|org|edu|mil|gov|aero|biz|coop|info|museum|name|pro|cat|jobs|mobi|travel)$", "replace": "$1.$2"} | 
| + ], | 
| + | 
| + // Automatically generated dictionaries | 
| + "domain":{} | 
| 
 
Wladimir Palant
2012/11/09 13:20:51
You probably want dummies for "domainReferrals" an
 
 | 
| +} |