Package pyannotation :: Package elan :: Module data :: Class EafCorpusReader
[hide private]
[frames] | no frames]

Class EafCorpusReader

source code

object --+
         |
        EafCorpusReader
Known Subclasses:

The base class for all Elan corpus readers. It provides access to all tiers that contain utterances and words.

Instance Methods [hide private]
 
__init__(self, root, files='*.eaf', locale=None, participant=None, utterancetierType=None, wordtierType=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
words(self)
Returns a list of words from the corpus files.
source code
 
sents(self)
Returns a list of sentences, which are lists of words from the corpus files.
source code
 
sents_with_translations(self)
Returns a list of (list of words, translation) tuples from the corpus files.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, root, files='*.eaf', locale=None, participant=None, utterancetierType=None, wordtierType=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)