<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Treex { an open-source framework for natural language processing?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zdenek Zabokrtsky</string-name>
          <email>zabokrtsky@ufal.mff.cuni.cz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Charles University in Prague, Institute of Formal and Applied Linguistics Malostranske namest 25</institution>
          ,
          <addr-line>118 00 Prague</addr-line>
          ,
          <country>Czech</country>
          <addr-line>Republic WWW home page:</addr-line>
        </aff>
      </contrib-group>
      <fpage>7</fpage>
      <lpage>14</lpage>
      <abstract>
        <p>The present paper describes Treex (formerly decision process (such as searching for optimal feature TectoMT), a multi-purpose open-source framework for de- weights and other model parameters) is then entirely veloping Natural Language Processing applications. It fa- left to the learning algorithm. cwialirteatmesodthueledseavlerleoapdmyeinnttebgyraetxepdloiintiTngreaexw, isduecrhaansgetoooflssoffotr- Recent developments in NLP show that another sentence segmentation, tokenization, morphological analy- paradigm shift might be approaching with unsupersis, part-of-speech tagging, shallow and deep syntax pars- vised and semi-supervised algorithms, which are able ing, named entity recognition, anaphora resolution, sen- to learn from data without hand-made annotations. tence synthesis, word-level alignment of parallel corpora, However, such algorithms require considerably more and other tasks. The most elaborate application of Treex is complex models and for most NLP tasks they have an English-Czech machine translation system with trans- not outperformed supervised solutions based on handfer on deep syntactic (tectogrammatical) layer. Besides re- annotated data so far. search, Treex is used for teaching purposes and helps students to implement morphological and syntactic analyzers of foreign languages in a very short time.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Natural Language Processing (NLP) is a multidisci</title>
      <p>plinary eld combining computer science,
mathematics and linguistics, whose main aim is to allow
computers to work with information expressed in human
(natural) language.</p>
      <p>The history of NLP goes back to 1950s. Early NLP
systems were based on hand-written rules founded by
linguistic intuitions. However, roughly two decades ago
the growing availability of language data (especially
textual corpora) and increasing capabilities of
computer systems lead to a revolution in NLP: the eld
became dominated by data-driven approaches, often
based on probabilistic modeling and machine learning.</p>
      <p>In such data-driven scenario, the role of
human experts was moved from designing rules rather to
(i) preparing training data enriched with linguistically
relevant information (usually by manual annotation),
(ii) choice of an adequate probabilistic model,
proposing features (various indicators potentially useful for
making the desired predictions), and (iii) specifying an
objective (evaluation) function. Optimization of the
? The presented research is supported by the grants
MSM0021620838 and by the European Commission's
7FP grant agreement n 231720 (EuroMatrix Plus). We
would like to thank Martin Popel for useful comments
on the paper.</p>
      <p>Nowadays, researched NLP tasks range from
relatively simple ones (like sentence segmentation,
language identi cation), through tasks which already
need a higher level of abstraction (such as
morphological analysis, part-of-speech tagging, parsing, named
entity recognition, coreference resolution, word sense
disambiguation, sentiment analysis, natural language
generation), to highly complex systems (machine
translation, automatic summarization, or question
answering). The importance of (and demand for) such
tasks increases along with the rapidly growing amount
of textual information available on the Internet.</p>
    </sec>
    <sec id="sec-2">
      <title>Many NLP applications exploit several NLP mod</title>
      <p>ules chained in a pipeline (such as a sentence
segmenter and part-of-speech tagger prior to a parser).
However, if state-of-the-art solutions created by
different authors { often written in di erent
programming languages, with di erent interfaces, using
different data formats and encodings { are to be used,
a signi cant e ort must be invested into integrating
the tools. Even if these issues are only of technical
nature, in real research they constitute one of limiting
factors for building more complex NLP applications.</p>
      <p>We try to eliminate such problems by introducing
a common NLP framework that integrates a number
of NLP tools and provides them with uni ed
objectoriented interfaces, which hide the technical issues
from the developer of a larger application. The
framework's architecture seems viable { tens of researchers
and students have already contributed to the system
and the framework has been already used for a number
of research tasks carried out at the Institute of
Formal and Applied linguistics as well as at some other
research institutions. The most complex application
implemented within the framework is English-Czech
machine translation. The framework is called Treex.1</p>
      <p>The remainder of the paper is structured as
follows. Section 2 overviews related work that had to be
taken into account when developing such framework.
Section 3 presents the main design decisions Treex
is build on. English-Czech machine translation
implemented in Treex is described in Section 4, while other
Treex applications are mentioned in Section 5, which
also concludes.
2
2.1</p>
      <p>Related work</p>
      <sec id="sec-2-1">
        <title>Theoretical background</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Natural language is an immensely complicated phe</title>
      <p>nomenon. Modeling the language in its entirety would
be extremely complex, therefore its description is
often decomposed into several subsequent layers (levels).
There is no broadly accepted consensus on details
concerning the individual levels, however, the layers
typically roughly correspond to the following scale:
phonetics, phonology, morphology, syntax, semantics, and
pragmatics.</p>
      <p>
        One of such strati cational hypotheses is
Functional Generative Description (FGD), developed by
Petr Sgall and his colleagues in Prague since the
1960s [
        <xref ref-type="bibr" rid="ref17">18</xref>
        ]. FGD was used with certain modi cations as
the theoretical framework underlying the Prague
Dependency Treebank [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], which is a manually annotated
corpus of Czech newspaper texts from the 1990s. PDT
in version 2.0 (PDT 2.0) adds three layers of linguistic
annotation to the original texts:
      </p>
      <sec id="sec-3-1">
        <title>1. morphological layer (m-layer)</title>
        <p>Each sentence is tokenized and each token is
annotated with a lemma (basic word form, such as
nominative singular for nouns) and morphological
tag (describing morphological categories such as
part of speech, number, and tense).</p>
      </sec>
      <sec id="sec-3-2">
        <title>2. analytical layer (a-layer)</title>
        <p>Each sentence is represented as a shallow-syntax
dependency tree (a-tree). There is one-to-one
correspondence between m-layer tokens and a-layer
nodes (a-nodes). Each a-node is annotated with
the so-called analytical function, which represents
the type of dependency relation to its parent
(i.e. its governing node).</p>
      </sec>
      <sec id="sec-3-3">
        <title>3. tectogrammatical layer (t-layer)</title>
        <p>Each sentence is represented as a deep-syntax
dependency tree (t-tree). Autosemantic
(meaningful) words are represented as t-layer nodes
(t-nodes). Information conveyed by functional
words (such as auxiliary verbs, prepositions and
subordinating conjunctions) is represented by
attributes of t-nodes. Most important attributes
of t-nodes are: tectogrammatical lemma, functor
(which represents the semantic value of syntactic
dependency relation) and a set of grammatemes
(e.g. tense, number, verb modality, deontic
modality, negation).</p>
        <p>Edges in t-trees represent linguistic dependencies
except for several special cases, the most notable
of which are paratactic structures (coordinations).</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>All three layers of annotation are described in an</title>
      <p>notation manuals distributed with PDT 2.0.</p>
      <p>This annotation scheme has been adopted and
further modi ed in Treex. One of the modi cations
consists in merging m-layer and a-layer sentence
representations into a single data structure.2</p>
      <p>Treex also pro ts from the technology developed
during the PDT project, especially from the existence
of the highly customizable tree editor TrEd, which is
used as the main visualization tool in Treex, and from
the XML-based le format PML (Prague Markup
Language, [14]), which is used as the main data format in
Treex.
2.2</p>
      <sec id="sec-4-1">
        <title>Other NLP frameworks</title>
        <p>
          Treex is not the only existing general NLP
frame1 The framework was originally called TectoMT since work. We are aware of the following other frameworks
starting its development in autumn 2005 [
          <xref ref-type="bibr" rid="ref22">23</xref>
          ], because (a more detailed comparison can be found in [
          <xref ref-type="bibr" rid="ref14">15</xref>
          ]):
one of the sources of motivation for building the
framework was developing a Machine translation (MT) system { ETAP-3 [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] is a C/C++ closed-source NLP
frameusing tectogrammatical (deep-syntactic) sentence repre- work for English-Russian and Russian-English
sentation as the transfer medium. However, MT is by translation, developed in the Russian Academy of
far not the only application of the framework. As the Sciences.
name seemed to be rather discouraging for those NLP
developers whose research interests did not overlap with 2 As mentioned above, their units are in a one-to-one
relatectogrammatics nor with MT, TectoMT was rebranded tion anyway; merging the two structures together has led
to Treex in spring 2011. To avoid confusion, the name to a signi cant reduction of time and memory
requireTreex is used throughout the whole text even if it refers ments when processing large data, as well as to a lower
to a more distant history. burden for eyes when browsing the structures.
{ GATE (Java, LGPL) is one of the most widely during the translation process are made by statistical
used NLP frameworks with integrated graphical models like in SMT, not by rules.
user interface. It is being developed at University
of She eld [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
{ Apache OpenNLP (Java, LGPL)3 is an organiza- 3 Treex architecture overview
{ tWioenbaLlicchent4teirs faorSoeprvenicesoOurrcieenNteLdPAprrcohjietecctst.ure for 3.1 Basic design decisions
        </p>
        <p>
          building annotated German text corpora. The architecture of Treex is based on the following
{ Apertium [
          <xref ref-type="bibr" rid="ref19">20</xref>
          ] is a free/open-source machine trans- decisions:
lation platform with shallow transfer.
        </p>
        <p>In our opinion, none of these frameworks seems
feasible (or mature enough) for experiments on MT based
on deep-syntactic dependency transfer. The only
exception is ETAP-3, whose theoretical assumptions are
similar to that of Treex (its dependency-based strati
cational background theory called Meaning-Text
Theory [13] bears several resemblances to FGD), however,
it is not an open-source project.
2.3</p>
      </sec>
      <sec id="sec-4-2">
        <title>Contemporary machine translation</title>
        <p>
          MT is a notoriously hard problem and it is studied
by a broad research eld nowadays: every year there
are several conferences, workshops and tutorials
dedicated to it (or even to its sub elds). It goes beyond the
scope of this work even to mention all the
contemporary approaches to MT, but several elaborate surveys
of current approaches to MT are already available to
the reader elsewhere, e.g. in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
        </p>
        <p>A distinction is usually made between two MT
paradigms: rule-based MT (RBMT) and
statistical MT (SMT). The rule-based MT systems are
dependent on the availability of linguistic knowledge
(such as grammar rules and dictionaries), whereas
statistical MT systems require human-translated parallel
text, from which they extract the translation
knowledge automatically. One of the representatives of the
rst group is the already mention system ETAP-3.</p>
        <p>
          Nowadays, the most popular representatives of the
second group are phrase-based systems (in which the
term `phrase' stands simply for a sequence of words,
not necessarily corresponding to phrases in constituent
syntax), e.g. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], derived from the IBM models [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
        </p>
        <p>Even if phrase-based systems have more or less
dominated the eld in the recent years, their
translation quality is still far from perfect. Therefore we
believe it makes sense to investigate also alternative
approaches.</p>
        <p>MT implemented in Treex lies somewhere between
the two main paradigms. Like in RBMS, sentence
representations used in Treex are linguistically
interpretable. However, the most important decisions
3 http://opennlp.sourceforge.net
4 http://weblicht.sfs.uni-tuebingen.de/englisch/index.shtml
{ Treex is primarily developed in Linux. However,
platform independent solutions are searched for
wherever possible.
{ The main programming language of Treex is Perl.</p>
        <p>However, a number of tools written in other
languages have been integrated into Treex (after
providing them with a Perl wrapper).
{ Linguistic interpretability { data structures
representing natural language sentences in Treex must
be understandable by a human (so that e.g.
translation errors can be traced back to their source).
Comfortable visualization of the data structures is
supported.
{ Modularity { NLP tools in Treex are designed so
that they are easily reusable for various tasks (not
only for MT),
{ Rules-vs-statistics neutrality { Treex architecture
is neutral with respect to the rules vs. statistics
opposition (rule-based as well as statistical
solutions are combined).
{ Massive data { Treex must be capable of
processing large data (such as millions of sentence pairs
in parallel corpora), which implies that distributed
processing must be supported.
{ Language universality { ideally, Treex should be
easily extendable to any natural language.
{ Data interchange support { XML is used as the
main storage format in Treex, but Treex must be
able to work with a number of other data formats
used in NLP.
3.2</p>
      </sec>
      <sec id="sec-4-3">
        <title>Data structure units</title>
        <p>In Treex, representations of a text in a natural
language is structured as follows:
{ Document. A Treex document is the smallest
independently storable unit. A document represents
a piece of text (or several parallel pieces of texts
in the case of multilingual data) and its linguistic
representations. A document contains an ordered
sequence of bundles.
{ Bundle. A bundle corresponds to a sentence (or
a tuple of sentences in the case of parallel data)
and its linguistic representations. A bundle
contains a set of zones.
{ Zone. Each language (languages are distinguished
using ISO 639-2 codes in Treex) can have one or
more zones in a bundle.5 Each zone corresponds to
one particular sentence and at most one tree for
each layer of linguistic description.
{ Tree. All sentence representations in Treex have
the shape of an oriented tree.6 At this moment
there are four types of trees: (1) a-trees {
morphology and surface-dependency (analytical) trees,
(2) t-trees { tectogrammatical trees, (3) p-trees {
phrase-structure (constituency) trees, (4) n-trees
{ trees of named entities.
{ Node. Each nodes contains (is labeled by) a set of
attributes (name-value pairs).
{ Attribute. Some node attributes are universal
(such as identi er), but most of them are speci c
for a certain layer. The set of attribute names and
their values for a node on a particular layer is
declared using the Treex PML schema.7 Attribute
values can be further structured.</p>
        <p>Of course, there are also many other types of data
structures used by individual integrated modules (such
as dictionary lists, weight vectors and other trained
parameters, etc.), but they are usually hidden behind
module interfaces and no uniform structure is required
for them.
3.3</p>
      </sec>
      <sec id="sec-4-4">
        <title>Processing units</title>
        <p>There are two basic levels of processing units in Treex:
{ Block. Blocks are the smallest processing units
in</p>
        <p>dependently applicable on a document.
{ Scenario. Scenarios are sequences of blocks. When
a scenario is applied on a document, the blocks
from the sequence are applied on the document
one after another.
5 Having more zones per language is useful e.g. for
comparing machine translation with reference translation,
or translation outputs from several systems. Moreover
it highly simpli es processing of parallel corpora, or
comparisons of alternative implementations of a certain
tasks (such as di erent dependency parsers).
6 However, tree-crossing edges such as anaphora links in
a dependency tree can be represented too (as node
attributes).
7 There are also \wild" attributes allowed, which can store
any Perl data structure without its prior declaration
by PML. However, such undeclared attributes should
serve only for tentative or rapid development purposes,
as they cannot be validated.</p>
        <p>(a) Simple Treex scenario:
Util::SetGlobal language=en # do everyth. in English zone
Block::Read::Text # read a text from STDIN
W2A::Segment # segment it into sentences
W2A::Tokenize # divide sentences into words
W2A::EN::TagMorce # morphological tagging
W2A::EN::Lemmatiz # lemmatization (basic word forms)
W2A::EN::ParseMST # dependency parsing
W2A::EN::SetAfunAuxCPCoord # fill analytical functions
W2A::EN::SetAfun # fill analytical functions
Write::CoNLLX # print trees in CoNLLX format
Write::Treex # store trees into XML file
(b) Input text example:
When the prince mentions the rose, the geographer explains
that he does not record roses, calling them "ephemeral".</p>
        <p>The prince is shocked and hurt by this revelation. The
geographer recommends that he visit the Earth.
(c) Fragment from the printed output (simpli ed):
1 The the DT
2 prince prince NN
3 is be VBZ
4 shocked shock VBN
5 and and CC
6 hurt hurt VBN
7 by by IN
8 this this DT
9 revelation revelation NN
10 . . .</p>
        <p>English-Czech machine translation
in Treex
{ blocks for sentence analysis { blocks for tokeniza- The translation scenario implemented in Treex
comtion, morphological tagging, parsing, anaphora poses of three steps described in the following
secresolution, etc. tions: (1) analysis of the input sentences up to
tec{ blocks for sentence synthesis { blocks for propa- togrammatical layer of abstraction, (2) transfer of the
gating agreement categories, ordering words, in- abstract representation to the target language, and
ecting word forms, adding punctuation, etc. (3) synthesis (generating) of sentences in the target
{ blocks for transfer { blocks for translating a com- language. See an example in Figure 2.
ponent of a linguistic representation from one
language to another, etc.
{ blocks for parallel texts { blocks for word align- 4.1 Analysis</p>
        <p>ment, etc.
{ writer and reader blocks { block for
storing/loading Treex documents into/from les or The analysis step can be decomposed into three phases
other streams (in the PML or other format),9 corresponding to morphological, analytical and
tec{ auxiliary blocks { blocks for testing, printing, etc. togrammatical analysis.</p>
        <p>In the morphological phase, a text to be
trans</p>
        <p>
          If possible, we try to implement blocks in a lan- lated is segmented into sentences and each sentence
guage independent way. However, many blocks will re- is tokenized (segmented into words and punctuation
main language speci c (for instance a block for moving marks). Tokens are tagged with part of speech and
clitics in Czech clauses can hardly be reused for any other morphological categories by the Morce
tagother language). ger [
          <xref ref-type="bibr" rid="ref18">19</xref>
          ], and lemmatized.
        </p>
        <p>There are large di erences in complexity of blocks. In the analytical phase, each sentence is parsed
usSome blocks contain just a few simple rules (such as ing the dependency parser [12] based on Maximum
regular expressions for sentence segmentation), while Spanning Tree algorithm, which results in an
analytiother blocks are Perl wrappers for quite complex prob- cal tree for each sentence. Tree nodes are labeled with
abilistic models resulting from several years of research analytical functions (such as Sb for subject, Pred for
(such as blocks for parsing). predicate, and Adv for adverbial).</p>
        <p>
          As for block granularity, there are no widely agreed Then the analytical trees are converted to the
tecconventions for decomposing large NLP applica- togrammatical trees. Each autosemantic word with its
tions.10 We only follow general recommendations for associated functional words is collapsed into a
sinsystem modularization. A piece of functionality should gle tectogrammatical node, labeled with lemma,
funcbe performed by a separate block if it has well de ned tor (semantic role), formeme,11 and semantically
ininput and output states of Treex data structures, if it dispensable morphologically categories (such as tense
can be reused in more applications and/or it can be with verbs and number with nouns, but not number
(at least potentially) replaced by some other solution. with verbs as it is only imposed by subject-predicate
agreement). Coreference of pronouns is also resolved
and tectogrammatical nodes are enriched with
information on named entities (such as the distinction
between location, person and organization) resulting
from Stanford Named Entity Recognizer [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
8 Pipeline processing (like with Unix text-processing
commands) is not feasible here since linguistic data are
deeply structured and the price for serializing the data
at each boundary would be high.
9 In the former versions, format converters were
considered as tools separated from scenarios. However,
providing the converters with the uniform block interface
allows to read/write data directly within a scenario, which
is not only more elegant, but also more e cient
(intermediate serialization and storage can be skipped).
10 For instance, some taggers provides both morphological
tag and lemma for each word form, while other taggers
must be followed by a subsequent lemmatizer in order
to achieve the same functionality.
        </p>
        <p>
          11 Formemes specify how tectogrammatical nodes are
realized in the surface sentence shape. For instance,
n:subj stands for semantic noun in the subject
position, n:for+X for semantic noun with preposition for,
v:because+ n for semantic verb in a subordinating
clause introduced by the conjunction because, adj:attr for
semantic adjective in attributive position. Formemes do
not constitute a genuine tectogrammatical component
as they are not oriented semantically (but rather
morphologically and syntactically). However, they have been
added to t-trees in Treex as they facilitate the transfer.
Fig. 2. Analysis-transfer-synthesis translation scenario in Treex applied on the English sentence \However, this very
week, he tried to nd refuge in Brazil.", leading to the Czech translation \Presto se tento prave tyden snazil naj t
utociste v Braz lii.". Thick edges indicate functional and autosemantic a-nodes to be merged.
4.2 Transfer labelling is then revealed by the tree-modi ed Viterbi
algorithm [
          <xref ref-type="bibr" rid="ref21">22</xref>
          ].
        </p>
        <p>The transfer phase follows, whose most di cult part Originally, we estimated the translation model
simconsists in labeling the tree with target-language lem- ply by using pair frequencies extracted from
Englishmas and formemes. Changes of tree topology and of Czech parallel data. A signi cant improvement was
other attributes12 are required relatively infrequently. reached after replacing such model by Maximum
En</p>
        <p>
          Our model for choosing the right target-language tropy model. In the model, we employed a wide range
lemmas and formemes in inspired by Noisy Channel of features resulting from the source-side analysis. The
Model which is the standard approach in the contem- weights were optimized using training data extracted
porary SMT and which combines a translation model from the CzEng parallel treebank [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], which contains
and a language model of the target language. In other roughly 6 million English-Czech pairs of analyzed and
words, one should not rely only on the information aligned sentences.
on how faithfully the meaning is transfered by some
translation equivalent, but also the additional model
        </p>
      </sec>
      <sec id="sec-4-5">
        <title>4.3 Synthesis</title>
        <p>can be used which estimates how well some translation
equivalent ts to the surrounding context.13 Finally, surface sentence shape is synthesized from the</p>
        <p>
          Unlike in the mainstream SMT, in tectogrammat- tectogrammatical tree, which is basically a reverse
ical transfer we do not use this idea for linear struc- operation for the tectogrammatical analysis: adding
tures, but for trees. So the translation model estimates punctuation and functional words, spreading
morphothe probability of source and target lemma pair, while logical categories according to grammatical
agreethe language tree model estimates the probability of ment, performing in ection (using Czech morphology
a lemma given its parent. The globally optimal tree database [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]), arranging word order etc.
12 For instance, number of nouns must be changed to plural
if the selected target Czech lemma is a plurale tantum. 4.4
Similarly, verb tense must be predicted if an English
in nitive or gerund verb form is translated to a nite
verb form.
13 This corresponds to the intuition that translating to
one's native language is simpler for a human than
translating to a foreign language.
        </p>
      </sec>
      <sec id="sec-4-6">
        <title>Evaluating translation quality</title>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>There are two general methods for evaluating transla</title>
      <p>
        tion quality of outputs of MT systems: (1) the quality
can be judged by humans (either using a set of criteria
such as grammaticality and intelligibility, or relatively
by comparing outputs of di erent MT systems), or
(2) the quality can be estimated by automatic met- { linguistic data processing service for other research
rics, which usually measure some form of string-wise carried out in other institutions, such as data
analoverlap of an MT system's output with one or more yses for prosody prediction for The University of
reference (human-made) translations. West Bohemia [
        <xref ref-type="bibr" rid="ref16">17</xref>
        ].
      </p>
      <p>
        Both types of evaluation are used regularly during
the development of our MT system. Automatic metrics Treex signi cantly simpli es code sharing across
are used after any change of the translation scenario, individual research projects in our institute. There are
as they are cheap and fast to perform. Large scale around 15 programmers (postgraduate students and
evaluations by volunteer judges are organized annu- researchers) who have signi cantly contributed to the
ally as a shared task with the Workshop on Statistical development of Treex in the last years; four of them
Machine Translation.14 Performance of the tectogram- are responsible for developing the central components
matical translation increases every year in both mea- of the framework infrastructure called Treex Core.
sures, and it already outperforms some commercial as Last but not least, Treex is used for teaching
purwell as academic systems. Actually, it is the participa- poses in our institute. Undergraduate students are
tion in this shared task (a competition, in other words) supposed to develop their own modules for
morphowhat provides the strongest motivation momentum for logical and syntactic analysis for foreign languages of
Treex developers. their choice. Not only that the existence of Treex
enables the students to make very fast progress, but their
5 Final remarks and conclusions contributions are accumulated in the Treex
Subversion repository too, which enlarges the repertory of
Even if tectogrammatical translation is considered as languages treatable by Treex.15
the main application of Treex, Treex has been used for There are two main challenges for the Treex
devela number of other research purposes as well: opers now. The rst challenge is to continue improving
the tectogrammatical translation quality by better
ex{ other MT-related tasks { Treex has been used for ploitation of the training data. The second challenge
developing alternative MT quality measures in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], is to widen the community of Treex users and
develand for improving outputs of other MT systems by opers by distributing majority of Treex modules via
grammatical post-processing in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], CPAN (Comprehensive Perl Archive Network), which
{ building linguistic data resources { Treex has been is a broadly respected repository of Perl modules.
employed in the development of resources such When thinking about a more distant future of MT
as the Prague Czech-English Dependency Tree- and NLP in general, an exciting question arises about
bank [
        <xref ref-type="bibr" rid="ref20">21</xref>
        ], the Czech-English parallel corpus the future relationship of linguistically interpretable
CzEng [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and Tamil Dependency Treebank [
        <xref ref-type="bibr" rid="ref15">16</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>I.</given-names>
            <surname>Boguslavsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Iomdin</surname>
          </string-name>
          , and
          <string-name>
            <surname>V.</surname>
          </string-name>
          <article-title>Sizov: Multilinguality in ETAP-3: reuse of lexical resources</article-title>
          . In G. Serasset, (ed.),
          <source>COLING 2004 Multilingual Linguistic Resources</source>
          , pp.
          <volume>1</volume>
          {
          <issue>8</issue>
          ,
          <string-name>
            <surname>Geneva</surname>
          </string-name>
          , Switzerland,
          <year>August</year>
          28
          <year>2004</year>
          . COLING.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>O.</given-names>
            <surname>Bojar</surname>
          </string-name>
          , M. Jan cek,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zabokrtsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ceska</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Bena</surname>
          </string-name>
          <article-title>: CzEng 0.7: parallel corpus with communitysupplied translations</article-title>
          .
          <source>In Proceedings of the Sixth International Language Resources and Evaluation</source>
          , Marrakech, Morocco,
          <year>2008</year>
          . ELRA.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.E.</given-names>
            <surname>Brown</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.J. Della</given-names>
            <surname>Pietra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.A.</given-names>
            <surname>Della Pietra</surname>
          </string-name>
          , and
          <string-name>
            <surname>R.L.</surname>
          </string-name>
          <article-title>Mercer: The mathematics of statistical machine translation: parameter estimation</article-title>
          .
          <source>Computational Linguistics</source>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>H.</given-names>
            <surname>Cunningham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Maynard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Bontcheva</surname>
          </string-name>
          , and
          <string-name>
            <surname>V.</surname>
          </string-name>
          <article-title>Tablan: GATE: an architecture for development of robust HLT applications</article-title>
          .
          <source>In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics, July</source>
          , pp.
          <volume>07</volume>
          {
          <issue>12</issue>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>J.R.</given-names>
            <surname>Finkel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Grenager</surname>
          </string-name>
          , and
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Manning: Incorporating non-local information into information extraction systems by gibbs sampling</article-title>
          .
          <source>In ACL '05: Proceedings of the 43rd Annual Meeting on Association for Computational Linguistics</source>
          , pp.
          <volume>363</volume>
          {
          <issue>370</issue>
          ,
          <string-name>
            <surname>Morristown</surname>
          </string-name>
          , NJ, USA,
          <year>2005</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>J.</given-names>
            <surname>Hajic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Hajicova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Panevova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sgall</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pajas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Stepanek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Havelka</surname>
          </string-name>
          , and M.
          <source>Mikulova: Prague Dependency Treebank 2.0. Linguistic Data Consortium, LDC Catalog No.: LDC2006T01</source>
          , Philadelphia,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>J.</given-names>
            <surname>Hajic</surname>
          </string-name>
          <article-title>: Disambiguation of rich in ection { computational morphology of Czech</article-title>
          . Charles University { The Karolinum Press, Prague,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>P.</given-names>
            <surname>Koehn</surname>
          </string-name>
          et al:
          <article-title>Moses: open source toolkit for statistical machine translation</article-title>
          .
          <source>In Proceedings of the Demo and Poster Sessions, 45th Annual Meeting of ACL</source>
          , pp.
          <volume>177</volume>
          {
          <issue>180</issue>
          , Prague, Czech Republic,
          <year>June 2007</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>K.</given-names>
            <surname>Kos</surname>
          </string-name>
          and
          <string-name>
            <surname>O.</surname>
          </string-name>
          <article-title>Bojar: Evaluation of machine translation metrics for Czech as the target language</article-title>
          .
          <source>Prague Bulletin of Mathematical Linguistics</source>
          ,
          <volume>92</volume>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. A.
          <string-name>
            <surname>Lopez</surname>
          </string-name>
          :
          <article-title>A survey of statistical machine translation</article-title>
          .
          <source>Technical Report</source>
          , Institute for Advanced Computer Studies, University of Maryland,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>D.</given-names>
            <surname>Marecek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Galuscakova</surname>
          </string-name>
          , and
          <string-name>
            <surname>O.</surname>
          </string-name>
          <article-title>Bojar: Two-step translation with grammatical post-processing</article-title>
          .
          <source>In Proceedings of the 6th Workshop on Statistical Machine Translation</source>
          , pp.
          <volume>426</volume>
          {
          <issue>432</issue>
          ,
          <string-name>
            <surname>Edinburgh</surname>
          </string-name>
          , Scotland,
          <year>2011</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <article-title>approaches (like that of Treex) and purely statisti- 12</article-title>
          . R .
          <string-name>
            <surname>McDonald</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Pereira</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Ribarov</surname>
            , and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Hajic</surname>
          </string-name>
          <article-title>: cal phrase-based approaches</article-title>
          .
          <source>Promising results of [11]</source>
          ,
          <article-title>Non-projective dependency parsing using spanning tree which uses Treex for improving the output of a phrase- algorithms. In Proceedings of Human Langauge Techbased system and thus reaches the state-of-the-art MT nology Conference and Conference on Empirical Methquality in English-Czech MT, show that combinations ods in Natural Language Processing</article-title>
          , pp.
          <volume>523</volume>
          {
          <issue>530</issue>
          ,
          <article-title>of both approaches might be viable</article-title>
          . Vancouver, BC, Canada,
          <year>2005</year>
          . 13.
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>A. Mel'cuk: Dependency syntax: theory and practice</article-title>
          . State University of New York Press,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <given-names>References 14. P.</given-names>
            <surname>Pajas</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Stepanek</surname>
          </string-name>
          :
          <article-title>Recent advances in a featurerich framework for treebank annotation</article-title>
          .
          <source>In Proceedings of the 22nd International Conference on Computational Linguistics</source>
          , volume
          <volume>2</volume>
          , pp.
          <volume>673</volume>
          {
          <issue>680</issue>
          ,
          <string-name>
            <surname>Manchester</surname>
          </string-name>
          , UK,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          15.
          <string-name>
            <given-names>M.</given-names>
            <surname>Popel</surname>
          </string-name>
          and
          <string-name>
            <surname>Z.</surname>
          </string-name>
          <article-title>Zabokrtsky: TectoMT: modular NLP framework</article-title>
          .
          <source>In Lecture Notes in Arti cial Intelligence</source>
          ,
          <source>Proceedings of the 7th International Conference on Advances in Natural Language Processing (IceTAL</source>
          <year>2010</year>
          ), volume
          <volume>6233</volume>
          <source>of LNCS</source>
          , pp.
          <volume>293</volume>
          {
          <issue>304</issue>
          , Berlin / Heidelberg,
          <year>2010</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          16.
          <string-name>
            <given-names>L.</given-names>
            <surname>Ramasamy</surname>
          </string-name>
          and
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zabokrtsky</surname>
          </string-name>
          :
          <article-title>Tamil dependency parsing: results using rule based and corpus based approaches</article-title>
          .
          <source>In Proceedings of 12th International Conference CICLing</source>
          <year>2011</year>
          , volume
          <volume>6608</volume>
          of Lecture Notes in Computer Science, pp.
          <volume>82</volume>
          {
          <issue>95</issue>
          , Berlin / Heidelberg,
          <year>2011</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          17. J. Romportl:
          <article-title>Zvysovan prirozenosti strojove vytvarene reci v oblasti suprasegmentaln ch zvukovych jevu</article-title>
          .
          <source>PhD Thesis</source>
          , Faculty of Applied Sciences, University of West Bohemia, Pilsen, Czech Republic,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          18.
          <string-name>
            <given-names>P.</given-names>
            <surname>Sgall</surname>
          </string-name>
          , E. Hajicova, and
          <string-name>
            <surname>J. Panevova:</surname>
          </string-name>
          <article-title>The Meaning of the sentence in its semantic and pragmatic aspects</article-title>
          . D. Reidel Publishing Company, Dordrecht,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          19.
          <string-name>
            <given-names>D.</given-names>
            <surname>Spoustova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hajic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Votrubec</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Krbec</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Kveton:</surname>
          </string-name>
          <article-title>The best of two worlds: cooperation of statistical and rule-based taggers for Czech</article-title>
          .
          <source>In Proceedings of the Workshop on Balto-Slavonic Natural Language Processing, ACL 2007</source>
          , pp.
          <volume>67</volume>
          {
          <issue>74</issue>
          ,
          <string-name>
            <surname>Praha</surname>
          </string-name>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          20.
          <string-name>
            <surname>F.M. Tyers</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Sanchez-Martanez</surname>
            ,
            <given-names>S</given-names>
          </string-name>
          <string-name>
            <surname>Ortiz-Rojas</surname>
            , and
            <given-names>M.L.</given-names>
          </string-name>
          <string-name>
            <surname>Forcada</surname>
          </string-name>
          <article-title>: Free/open-source resources in the Apertium platform for machine translation research and development</article-title>
          .
          <source>Prague Bulletin of Mathematical Linguistics</source>
          ,
          <volume>93</volume>
          ,
          <year>2010</year>
          ,
          <volume>67</volume>
          {
          <fpage>76</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          21.
          <string-name>
            <surname>J. Sindlerova</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Mladova</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Toman</surname>
            , and
            <given-names>S. Cinkova:</given-names>
          </string-name>
          <article-title>An application of the PDT-scheme to a parallel treebank</article-title>
          .
          <source>In Proceedings of the 6th International Workshop on Treebanks and Linguistic Theories (TLT</source>
          <year>2007</year>
          ), pp.
          <volume>163</volume>
          {
          <issue>174</issue>
          ,
          <string-name>
            <surname>Bergen</surname>
          </string-name>
          , Norway,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          22.
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zabokrtsky</surname>
          </string-name>
          and
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Popel: Hidden Markov tree model in dependency-based machine translation</article-title>
          .
          <source>In Proceedings of the 47th Annual Meeting of the Association for Computational Linguistics</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          23.
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zabokrtsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ptacek</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Pajas</surname>
          </string-name>
          . TectoMT:
          <article-title>Highly modular MT system with tectogrammatics used as transfer layer</article-title>
          .
          <source>In Proceedings of the 3rd Workshop on Statistical Machine Translation, ACL</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>