__init__(self,
root,
files='*.eaf',
locale=None,
participant=None,
utterancetierType=None,
wordtierType=None,
morphemetierType=None,
glosstierType=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.
morphemetierType: the type of the tier you gave to your
"morphemes" in Elan. The EafTrees have several default values
for this tier type: [ "morpheme", "morphemes", "Morphem",
"Morpheme" ]. 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.
glosstierType: the type of the tier you gave to your
"glosses" in Elan. The EafTrees have several default values
for this tier type: [ "glosses", "gloss", "Glossen", "Gloss",
"Glosse" ]. 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__
|