sponsor Vim development Vim logo Vim Book Ad

yo-speller : NOTE: this only for russian users! Spell YO letter in the buffer.

 script karma  Rating 4/1, Downloaded by 885  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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
yobase.ZIP 0.1 2003-12-15 6.0 Eugene Minkovskii More simple installation, more simple update yo-base, more faster initialization when you call macros second time.
yobase.zip 0.0 2003-12-04 6.0 Eugene Minkovskii Initial upload
ip used for rating: 3.141.41.187

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github