yo-speller : NOTE: this only for russian users! Spell YO letter in the buffer.
script karma |
Rating 4/1,
Downloaded by 1025 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Eugene Minkovskii |
|
script type |
utility |
|
description |
Russian home-page of this project is http://python.anabar.ru/yo.htm
There you can find analogous macros for XEmacs writen by me in ELisp.
This programs check russhian text to find words with E letter and chage to the YO letter if needed. For example: "avtogidropod'emnik" -> "avtogidropodyomnik". Words were letter yo must be, changed silently. And if this word may be with yo and may be without (vse-vsyo, chem-chyom) there are prompt a dialog.
Script correctly work with case: "Word" change to "Another", "word" to "another" and "WORD" to "ANOTHER", "wORd" dont change, because it is no word :)
Experiment show this if not very hard, because most of word chanded automatically. The database contain 60000 words (in all cases) |
|
install details |
First step: install text.py utility from this site: vimscript#840
Second and last: open yo.py and change path in first line. There must be absolutly path to your yo.dat file, like this:
yo_path = r"...\Vim\python\yo.dat" # FIXME here
Then you can use it: open your russhian file and run the command
:pyf <path_if_necessary>yo.py
If you need to change yo base, edit yo.txt file, changes are apply automatically |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.129.128.179
|