sponsor Vim development Vim logo Vim Book Ad

polytonic.utf-8.spl : Spell checking for multi accented (polytonic) Greek.

 script karma  Rating 51/15, Downloaded by 797  Comments, bugs, improvements  Vim wiki

created by
Andreas Proteus
script type
Spell file for multi accented (also known as polytonic) Greek.

This spell file is for checking the spelling of texts typed in multi
accented (or polytonic) Greek. It is useful to Greek scholars
(hellenists) as well as native Greek speakers who prefer to write
in the traditional multi accented script.  

The word list covers all the ancient and modern Greek vocabulary.
About 1.5 million words all spelled in the traditional polytonic system.

The ancient Greek word list is derived from several corpora like
Perseus [2], and TLG [3] and other sources.

The modern Greek word list is derived from the ispell dictionary el_GR [1]
but all the words have been appropriately accentuated. This spell file
will flag monotonic spelling as errors (and rightfully so).

The two lists are combined, cleaned of double entries (there was a large
overlap) and sorted. Last syllable varia (grave accent)  and double oxias
(as when shifted from the following word) have been replaced by SFX
rules in the affix file.

It works quite well with Vim and it is fast, but bear in mind that it is far
from finished. (see bugs below).



Copy the file polytonic.utf-8.spl to your home .vim spell
directory (~/.vim/spell/). If the directory does not exist, create it.


To use it you must set the encodings to utf-8.
:set encoding=utf-8
:set fenc=utf-8
:set inputenc=utf-8

For polytonic Greek text entry see: vimscript#2743

To activate spell checking:
:set spelllang=polytonic
:set spell

For bilingual spell checking:
:set spelllang=polytonic,en

To limit spelling suggestions to 8:
:set spellsuggest=8

Known bugs

Hyphenated words are not recognized and are flagged as spelling errors.

Words written in capital letters, even when are spelled correctly (without accents), are
flagged as errors.

If anyone wishes to help, e-mail me and I will forward the .dic and .aff files.
proteuss AT sdf.org

[1] http://ispell.math.upatras.gr
[2] http://www.perseus.tufts.edu/hopper/opensource/download
[3] http://www.tlg.uci.edu/
install details
Extract files: tar -xf polytonic.utf-8-v-n.n.n.tar.xz

Copy the file polytonic.utf-8.spl to your home .vim spell
directory (~/.vim/spell/). If the directory does not exist, create it.

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
polytonic.utf-8-v-1.0.1.tar.xz 1.0.1 2022-06-12 8.2 Andreas Proteus Expanded vocabulary
polytonic.utf-8.tar.xz 1.0.0 2022-06-12 8.2 Andreas Proteus Final Sigma bug fixed.  The spell checker now sees  'σ' and 'ς' as different characters.
polytonic.utf-8.tar.bz2 0.0.2 2021-03-13 7.0 Andreas Proteus Vocabulary updated
polytonic.utf-8.tar.bz2 0.0.1 2010-12-31 7.0 Andreas Proteus Initial upload
ip used for rating:

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.