Treex.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Treex/Core/Node/N.pm ↑ Summary Treex/Core.pm »
1 package Treex;
2 1 $Treex::VERSION = '2.20151210';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 1;
6  
7 __END__
8  
9 =encoding utf-8
10  
11 =head1 NAME
12  
13 Treex - Natural Language Processing framework
14  
15 =head1 VERSION
16  
17 version 2.20151210
18  
19 =head1 INTRODUCTION
20  
21 Treex (formerly named TectoMT) is a highly modular, multi-purpose,
22 multi-lingual, easily extendable Natural Language Processing framework.
23  
24 Treex has the following features:
25  
26 - There is a number of NLP tools already integrated in Treex,
27 such as morphological tagger, lemmatizers, named entity recognizers,
28 dependency parsers, constituency parsers, various kinds of dictionaries.
29  
30 - Treex allows storing all data in an XML-based format, which
31 simplifies data interchange with other frameworks.
32  
33 - Treex is tightly coupled with the tree editor TrEd, which
34 allows easy visualization of syntactic structures.
35  
36 - Treex is language universal and supports processing multilingual
37 parallel data.
38  
39 - Treex facilitates distributed processing on a computer cluster.
40  
41 - Treex architecture is inspired by the Prague Dependency Treebank,
42 especially by its layered view on language (especially distinguishing
43 surface syntax and deep syntax). Linguistic data structures used in
44 Treex are highly similar to the PDT's data structures.
45  
46 - Treex has been used for deep analysing large data, such as for Czech-English
47 parallel treebank CzEng (millions of parallel sentence pairs).
48  
49 - Treex has been intensively used for several years for developing a
50 Czech-English machine translation system, which is currently the main,
51 but not the only one application of Treex.
52  
53 In a way, Treex is similar to GATE. However, in our opinion, Treex has
54 a better support for deeply structured language data and for processing
55 multilingual data.
56  
57 =head1 COMPONENTS
58  
59 Treex is divided into several distributions:
60  
61 =head2 Treex::PML distribution
62  
63 PML stands for Prague Markup Language (PML), which is an XML-based data
64 format developed for interchange of linguistic data. L<Treex::PML>
65 comprises of a set of modules defining abstract Perl types (such
66 as tree nodes) and related functionality (such as tree traversal),
67 as well as procedures for storing the data structures into (and loading
68 from) PML files. L<Treex::PML> is a universal format, with only a few
69 assumptions about linguistic data.
70  
71 L<Treex::PML> was developed by Petr Pajas, originally under the name
72 Fslib as a part of the tree editor Tred, long before other components of
73 TectoMT/Treex were created.
74  
75 =head2 Treex::Core distribution
76  
77 L<Treex::Core> is an additional level of functionality added to
78 L<Treex::PML>. Most L<Treex::Core> classes are
79 descendants of L<Treex::PML> classes.
80  
81 Unlike L<Treex::PML>, L<Treex::Core> is not meant to be
82 a universal library for linguistic data. L<Treex::Core> predefines
83 several quite specific types of linguistic data structures; this limitation
84 allows L<Treex::Core> to provide functionality designed
85 specifically for these structures (such as resolving coordination, links
86 between deep and surface syntax, clause segmentation, alignment of parallel
87 data, etc.). Moreover, L<Treex::Core> offers tools for distributed
88 processing of Treex files, and for their visualization in TrEd.
89 Like L<Treex::PML>, L<Treex::Core> is language universal.
90  
91 =head2 Language specific distributions
92  
93 Language specific components of Treex are planned to be released on CPAN
94 within 2011.
95  
96  
97 =head1 HISTORY
98  
99 Treex results from an active long-term NLP research carried out at the Institute
100 of Formal and Applied Linguistics (Faculty of Mathematics and Physics, Charles University
101 in Prague, Czech Republic). The following list surveys only selected technological shifts:
102  
103  
104 1996 - Michal Křen develops the Graph tree editor. Linguistic data structures are stored in
105 a proprietary data format called fs-format.
106  
107 1997 - an SGML-based format called CSTS (Czech sentence tree structure) is developed.
108 In 2001, CSTS becomes the primary data format of the Prague Dependency Treebank 1.0.
109  
110 2000 - Petr Pajas develops an alternative tree editor called TrEd (in Perl), which soon becomes
111 the main tool used for various types of annotations realized in the department, and is used abroad
112 as well. TrEd contained a library of modules for memory representation of
113 linguistic structures and their storage, called Fslib.
114  
115 2000-2005 - Numerous NLP modules were developed at the department, aimed either at exploiting the existing PDT data, or
116 at facilitating new linguistic annotations. A new generic (language-universal, theory-universal)
117 XML-based format called Prague Markup Language is developed. PML was the primary format
118 of Jan Hajič et al.'s PDT 2.0 in 2006.
119  
120 2005 - Zdeněk Žabokrtský starts the development of TectoMT, with the aim of creating a modular
121 NLP system, primarily focused on Machine Translation with deep-syntactic (tectogrammatical) transfer.
122  
123 2006 - First TectoMT-based English-Czech Machine Translation experiments are performed.
124  
125 2006-2010 - TectoMT's architecture, as well as the translation quality, are gradually improved
126 (several thousand svn revisions). Many NLP tools such as taggers and parsers for various
127 languages are integrated.
128  
129 2010 - Fslib separated from TrEd, and published as a CPAN module under the name C<Treex::PML>.
130  
131 2010-2011 - "TectoMT" is rebranded to "Treex" - "eXploit syntactic/semantic TREEs!". All core components
132 are refactored using Moose.
133  
134 2011 - The C<Treex::Core> components are packed and go to CPAN. Some other (language specific)
135 distributions are hoped to appear soon too.
136  
137 =head1 REFERENCES
138  
139 L<Treex website|http://ufal.mff.cuni.cz/treex>
140  
141 Selected TectoMT/Treex-related publications:
142  
143 - Žabokrtský Zdeněk, Ptáček Jan, Pajas Petr:
144 TectoMT: Highly Modular MT System with Tectogrammatics Used as Transfer Layer.
145 In: ACL 2008 WMT: Proceedings of the Third Workshop on Statistical Machine Translation,
146 Copyright © Association for Computational Linguistics, Columbus, OH, USA,
147 ISBN 978-1-932432-09-1, pp. 167-170, 2008
148  
149 - Žabokrtský Zdeněk, Bojar Ondřej: TectoMT, Developer's Guide.
150 Technical report no. 2008/TR-2008-39, Copyright © Institute of Formal and Applied Linguistics,
151 Faculty of Mathematics and Physics, Charles University in Prague, 50 pp., Dec 2008
152  
153 - Popel Martin, Žabokrtský Zdeněk: TectoMT: Modular NLP Framework.
154 In: Lecture Notes in Computer Science, Vol. 6233, Proceedings of the 7th International Conference
155 on Advances in Natural Language Processing (IceTAL 2010), Copyright © Springer,
156 Berlin / Heidelberg, ISBN 978-3-642-14769-2, ISSN 0302-9743, pp. 293-304, 2010
157  
158 - Mareček David, Popel Martin, Žabokrtský Zdeněk: Maximum Entropy Translation Model in Dependency-Based
159 MT Framework. In: Proceedings of the Joint Fifth Workshop on Statistical Machine Translation and MetricsMATR,
160 Copyright © Association for Computational Linguistics, Uppsala, Sweden, ISBN 978-1-932432-71-8, pp. 201-201, 2010
161  
162  
163 =head1 AUTHOR
164  
165 Treex is an open project, there is a number of people who have contributed.
166  
167 =head2 Treex Cabal (not very original, is it?)
168  
169 Those who are responsible for maintaining Treex::Core modules.
170  
171 Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>
172  
173 Martin Popel <popel@ufal.mff.cuni.cz>
174  
175 David Mareček <marecek@ufal.mff.cuni.cz>
176  
177 =head2 Author of TrEd and Treex::PML
178  
179 Petr Pajas
180  
181 =head2 Some other contributors to Treex, both present and past, alphabetically
182  
183 Ondřej Bojar
184  
185 Václav Klimeš
186  
187 Tomáš Kraut
188  
189 Václav Novák
190  
191 Jan Ptáček
192  
193 Rudolf Rosa
194  
195 Daniel Zeman
196  
197 =head1 COPYRIGHT AND LICENSE
198  
199 Copyright © 2011 by Institute of Formal and Applied Linguistics, Charles University in Prague
200  
201 This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
« Treex/Core/Node/N.pm ↑ Summary Treex/Core.pm »