lib/Treex.pm

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