Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

# -*- coding: UTF-8 -*- 

# Copyright 2011-2014 Luc Saffre 

# License: BSD (see file COPYING for details) 

 

""" 

Work in progress. 

 

See :srcref:`docs/tickets/92`. 

 

""" 

 

from lino.modlib.vocbook.base import Language, Word, WordType 

 

 

class EstonianWord(Word): 

    pass 

 

 

class Estonian(Language): 

 

    @classmethod 

    def parse_word(cls, s, **kw): 

        s = s.strip() 

        return cls.register_word(EstonianWord(s, **kw))