Package translate :: Package lang :: Module el :: Class el

[hide private]
[frames] | no frames]

# Class el

source code

This class represents Greek.

Instance Methods | [hide private]

Inherited from `common.Common`: `__deepcopy__`, `__repr__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Methods | [hide private]

Inherited from `common.Common`: `alter_length`, `capsstart`, `character_iter`, `characters`, `length_difference`, `punctranslate`, `sentence_iter`, `sentences`, `word_iter`, `words`

Static Methods | [hide private]

Inherited from `common.Common`: `__new__`

Class Variables | [hide private]

| sentenceend = ``u'``.!;…``'`` These marks can indicate a sentence end.
| sentencere = `re.compile(r'`(?sux)`.`*?``[`\.!;\u2026`]`\s`+``(?=``[``^`a`-`z\u03`...``
| puncdict = ``{``u'``;``'``:` `u'``·``'``,` `u'``?``'``:` `u'``;``'``}`` A dictionary of punctuation transformation rules that can be used by punctranslate().
| valid_latin_accel = ``u'``abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN``...``
| valid_greek_accel = ``u'``αβγδεζηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠ``...``
| validaccel = ``u'``abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTU``...`` Characters that can be used as accelerators (access keys) i.e.
Inherited from `common.Common`: `CJKpunc`, `checker`, `code`, `commonpunc`, `ethiopicpunc`, `fullname`, `ignoretests`, `indicpunc`, `invertedpunc`, `listseperator`, `miscpunc`, `nplurals`, `pluralequation`, `punctuation`, `quotes`, `rtlpunc`, `validdoublewords` Inherited from `common.Common` (private): `_languages`

Properties | [hide private]

Inherited from `object`: `__class__`

Class Variable Details | [hide private]

### sentencere

Value:

      re.compile(r'(?sux).*?[\.!;\u2026]\s+(?=[^a-z\u03ac-\u03ce\d])')

### valid_latin_accel

Value:

      u'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'

### valid_greek_accel

Value:

      u'αβγδεζηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ'

### validaccel

Characters that can be used as accelerators (access keys) i.e. Alt+X where X is the accelerator. These can include combining diacritics as long as they are accessible from the users keyboard in a single keystroke, but normally they would be at least precomposed characters. All characters, lower and upper, are included in the list.

Value:

      u'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890αβγδεζ
      ηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ'