__init__(self,
root,
files='*.eaf',
locale=None,
participant=None,
utterancetierType=None,
wordtierType=None,
postierType=None)
(Constructor)
| source code
|
root: is the directory where your .eaf files are stored. Only the
files in the given directory are read, there is no recursive
reading right now. This parameter is obligatory.
files: a regular expression for the filenames to read. The
default value is "*.eaf"
locale: restricts the corpus data to tiers with the given locale.
participant: restricts the corpus data to tiers with the given
particiapant.
utterancetierType: the type of the tier you gave to your
"utterances" in Elan. The EafTrees have several default values
for this tier type: [ "utterance", "utterances", "Äußerung",
"Äußerungen" ]. If you used a different tier type in Elan you
can specify it as a parameter here. The parameter may either
be a string or a list of strings.
wordtierType: the type of the tier you gave to your
"words" in Elan. The EafTrees have several default values
for this tier type: [ "words", "word", "Wort", "Worte",
"Wörter" ]. If you used a different tier type in Elan you
can specify it as a parameter here. The parameter may either
be a string or a list of strings.
postierType: the type of the tier you gave to your
"parts of speeches" in Elan. The EafTrees have several default
values for this tier type: [ "part of speech", "parts of speech",
"Wortart", "Wortarten" ]. If you used a different tier type in
Elan you can specify it as a parameter here. The parameter
may either be a string or a list of strings.
- Overrides:
object.__init__
|