Commit eff29b7ceb274bfa3becece443e97849e1b0e934
Exists in
master
Merge branch 'devel'
Showing
14 changed files
with
2684 additions
and
112 deletions
Show diff stats
.gitignore
@@ -0,0 +1,17 @@ | @@ -0,0 +1,17 @@ | ||
1 | +VLibras Translate | ||
2 | +==================== | ||
3 | + | ||
4 | +Essa repositório está sob responsabilidade da suite VLibras produzida pelo Laboratório de Aplicações em Vídeo Digital (NPE/LAViD), com financiamento do Ministério do Planejamento, Orçamento e Gestão (MPOG), orgão integrante do poder Executivo Federal Brasileiro. | ||
5 | + | ||
6 | +- - - | ||
7 | +# Desenvolvedor | ||
8 | +Erickson Silva (erickson.silva@lavid.ufpb.br) | ||
9 | + | ||
10 | +- - - | ||
11 | +# Scripts | ||
12 | + | ||
13 | +## install.sh | ||
14 | +O script install.sh presente no diretório install/linux/ deste repositório para resolver as dependências necessárias para o ambiente de desenvolvimento. **Execução:** | ||
15 | +~~~~ | ||
16 | +$ ./install.sh | ||
17 | +~~~~ | ||
0 | \ No newline at end of file | 18 | \ No newline at end of file |
@@ -0,0 +1,2342 @@ | @@ -0,0 +1,2342 @@ | ||
1 | +# Doxyfile 1.8.8 | ||
2 | + | ||
3 | +# This file describes the settings to be used by the documentation system | ||
4 | +# doxygen (www.doxygen.org) for a project. | ||
5 | +# | ||
6 | +# All text after a double hash (##) is considered a comment and is placed in | ||
7 | +# front of the TAG it is preceding. | ||
8 | +# | ||
9 | +# All text after a single hash (#) is considered a comment and will be ignored. | ||
10 | +# The format is: | ||
11 | +# TAG = value [value, ...] | ||
12 | +# For lists, items can also be appended using: | ||
13 | +# TAG += value [value, ...] | ||
14 | +# Values that contain spaces should be placed between quotes (\" \"). | ||
15 | + | ||
16 | +#--------------------------------------------------------------------------- | ||
17 | +# Project related configuration options | ||
18 | +#--------------------------------------------------------------------------- | ||
19 | + | ||
20 | +# This tag specifies the encoding used for all characters in the config file | ||
21 | +# that follow. The default is UTF-8 which is also the encoding used for all text | ||
22 | +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv | ||
23 | +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv | ||
24 | +# for the list of possible encodings. | ||
25 | +# The default value is: UTF-8. | ||
26 | + | ||
27 | +DOXYFILE_ENCODING = UTF-8 | ||
28 | + | ||
29 | +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by | ||
30 | +# double-quotes, unless you are using Doxywizard) that should identify the | ||
31 | +# project for which the documentation is generated. This name is used in the | ||
32 | +# title of most generated pages and in a few other places. | ||
33 | +# The default value is: My Project. | ||
34 | + | ||
35 | +PROJECT_NAME = "VLibras Translate" | ||
36 | + | ||
37 | +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This | ||
38 | +# could be handy for archiving the generated documentation or if some version | ||
39 | +# control system is used. | ||
40 | + | ||
41 | +PROJECT_NUMBER = 2.0.0 | ||
42 | + | ||
43 | +# Using the PROJECT_BRIEF tag one can provide an optional one line description | ||
44 | +# for a project that appears at the top of each page and should give viewer a | ||
45 | +# quick idea about the purpose of the project. Keep the description short. | ||
46 | + | ||
47 | +PROJECT_BRIEF = "Automatic contents translator from Portuguese to LIBRAS" | ||
48 | + | ||
49 | +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included | ||
50 | +# in the documentation. The maximum height of the logo should not exceed 55 | ||
51 | +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy | ||
52 | +# the logo to the output directory. | ||
53 | + | ||
54 | +# PROJECT_LOGO = doc/images/lavid_logo.png | ||
55 | +PROJECT_LOGO | ||
56 | + | ||
57 | +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path | ||
58 | +# into which the generated documentation will be written. If a relative path is | ||
59 | +# entered, it will be relative to the location where doxygen was started. If | ||
60 | +# left blank the current directory will be used. | ||
61 | + | ||
62 | +OUTPUT_DIRECTORY = doc/ | ||
63 | + | ||
64 | +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- | ||
65 | +# directories (in 2 levels) under the output directory of each output format and | ||
66 | +# will distribute the generated files over these directories. Enabling this | ||
67 | +# option can be useful when feeding doxygen a huge amount of source files, where | ||
68 | +# putting all generated files in the same directory would otherwise causes | ||
69 | +# performance problems for the file system. | ||
70 | +# The default value is: NO. | ||
71 | + | ||
72 | +CREATE_SUBDIRS = NO | ||
73 | + | ||
74 | +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII | ||
75 | +# characters to appear in the names of generated files. If set to NO, non-ASCII | ||
76 | +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode | ||
77 | +# U+3044. | ||
78 | +# The default value is: NO. | ||
79 | + | ||
80 | +ALLOW_UNICODE_NAMES = NO | ||
81 | + | ||
82 | +# The OUTPUT_LANGUAGE tag is used to specify the language in which all | ||
83 | +# documentation generated by doxygen is written. Doxygen will use this | ||
84 | +# information to generate all constant output in the proper language. | ||
85 | +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, | ||
86 | +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), | ||
87 | +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, | ||
88 | +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), | ||
89 | +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, | ||
90 | +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, | ||
91 | +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, | ||
92 | +# Ukrainian and Vietnamese. | ||
93 | +# The default value is: English. | ||
94 | + | ||
95 | +OUTPUT_LANGUAGE = Brazilian | ||
96 | + | ||
97 | +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member | ||
98 | +# descriptions after the members that are listed in the file and class | ||
99 | +# documentation (similar to Javadoc). Set to NO to disable this. | ||
100 | +# The default value is: YES. | ||
101 | + | ||
102 | +BRIEF_MEMBER_DESC = YES | ||
103 | + | ||
104 | +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief | ||
105 | +# description of a member or function before the detailed description | ||
106 | +# | ||
107 | +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the | ||
108 | +# brief descriptions will be completely suppressed. | ||
109 | +# The default value is: YES. | ||
110 | + | ||
111 | +REPEAT_BRIEF = YES | ||
112 | + | ||
113 | +# This tag implements a quasi-intelligent brief description abbreviator that is | ||
114 | +# used to form the text in various listings. Each string in this list, if found | ||
115 | +# as the leading text of the brief description, will be stripped from the text | ||
116 | +# and the result, after processing the whole list, is used as the annotated | ||
117 | +# text. Otherwise, the brief description is used as-is. If left blank, the | ||
118 | +# following values are used ($name is automatically replaced with the name of | ||
119 | +# the entity):The $name class, The $name widget, The $name file, is, provides, | ||
120 | +# specifies, contains, represents, a, an and the. | ||
121 | + | ||
122 | +ABBREVIATE_BRIEF = | ||
123 | + | ||
124 | +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then | ||
125 | +# doxygen will generate a detailed section even if there is only a brief | ||
126 | +# description. | ||
127 | +# The default value is: NO. | ||
128 | + | ||
129 | +ALWAYS_DETAILED_SEC = NO | ||
130 | + | ||
131 | +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all | ||
132 | +# inherited members of a class in the documentation of that class as if those | ||
133 | +# members were ordinary class members. Constructors, destructors and assignment | ||
134 | +# operators of the base classes will not be shown. | ||
135 | +# The default value is: NO. | ||
136 | + | ||
137 | +INLINE_INHERITED_MEMB = NO | ||
138 | + | ||
139 | +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path | ||
140 | +# before files name in the file list and in the header files. If set to NO the | ||
141 | +# shortest path that makes the file name unique will be used | ||
142 | +# The default value is: YES. | ||
143 | + | ||
144 | +FULL_PATH_NAMES = YES | ||
145 | + | ||
146 | +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. | ||
147 | +# Stripping is only done if one of the specified strings matches the left-hand | ||
148 | +# part of the path. The tag can be used to show relative paths in the file list. | ||
149 | +# If left blank the directory from which doxygen is run is used as the path to | ||
150 | +# strip. | ||
151 | +# | ||
152 | +# Note that you can specify absolute paths here, but also relative paths, which | ||
153 | +# will be relative from the directory where doxygen is started. | ||
154 | +# This tag requires that the tag FULL_PATH_NAMES is set to YES. | ||
155 | + | ||
156 | +STRIP_FROM_PATH = | ||
157 | + | ||
158 | +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the | ||
159 | +# path mentioned in the documentation of a class, which tells the reader which | ||
160 | +# header file to include in order to use a class. If left blank only the name of | ||
161 | +# the header file containing the class definition is used. Otherwise one should | ||
162 | +# specify the list of include paths that are normally passed to the compiler | ||
163 | +# using the -I flag. | ||
164 | + | ||
165 | +STRIP_FROM_INC_PATH = | ||
166 | + | ||
167 | +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but | ||
168 | +# less readable) file names. This can be useful is your file systems doesn't | ||
169 | +# support long names like on DOS, Mac, or CD-ROM. | ||
170 | +# The default value is: NO. | ||
171 | + | ||
172 | +SHORT_NAMES = NO | ||
173 | + | ||
174 | +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the | ||
175 | +# first line (until the first dot) of a Javadoc-style comment as the brief | ||
176 | +# description. If set to NO, the Javadoc-style will behave just like regular Qt- | ||
177 | +# style comments (thus requiring an explicit @brief command for a brief | ||
178 | +# description.) | ||
179 | +# The default value is: NO. | ||
180 | + | ||
181 | +JAVADOC_AUTOBRIEF = NO | ||
182 | + | ||
183 | +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first | ||
184 | +# line (until the first dot) of a Qt-style comment as the brief description. If | ||
185 | +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus | ||
186 | +# requiring an explicit \brief command for a brief description.) | ||
187 | +# The default value is: NO. | ||
188 | + | ||
189 | +QT_AUTOBRIEF = NO | ||
190 | + | ||
191 | +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a | ||
192 | +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as | ||
193 | +# a brief description. This used to be the default behavior. The new default is | ||
194 | +# to treat a multi-line C++ comment block as a detailed description. Set this | ||
195 | +# tag to YES if you prefer the old behavior instead. | ||
196 | +# | ||
197 | +# Note that setting this tag to YES also means that rational rose comments are | ||
198 | +# not recognized any more. | ||
199 | +# The default value is: NO. | ||
200 | + | ||
201 | +MULTILINE_CPP_IS_BRIEF = NO | ||
202 | + | ||
203 | +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the | ||
204 | +# documentation from any documented member that it re-implements. | ||
205 | +# The default value is: YES. | ||
206 | + | ||
207 | +INHERIT_DOCS = YES | ||
208 | + | ||
209 | +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new | ||
210 | +# page for each member. If set to NO, the documentation of a member will be part | ||
211 | +# of the file/class/namespace that contains it. | ||
212 | +# The default value is: NO. | ||
213 | + | ||
214 | +SEPARATE_MEMBER_PAGES = NO | ||
215 | + | ||
216 | +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen | ||
217 | +# uses this value to replace tabs by spaces in code fragments. | ||
218 | +# Minimum value: 1, maximum value: 16, default value: 4. | ||
219 | + | ||
220 | +TAB_SIZE = 2 | ||
221 | + | ||
222 | +# This tag can be used to specify a number of aliases that act as commands in | ||
223 | +# the documentation. An alias has the form: | ||
224 | +# name=value | ||
225 | +# For example adding | ||
226 | +# "sideeffect=@par Side Effects:\n" | ||
227 | +# will allow you to put the command \sideeffect (or @sideeffect) in the | ||
228 | +# documentation, which will result in a user-defined paragraph with heading | ||
229 | +# "Side Effects:". You can put \n's in the value part of an alias to insert | ||
230 | +# newlines. | ||
231 | + | ||
232 | +ALIASES = | ||
233 | + | ||
234 | +# This tag can be used to specify a number of word-keyword mappings (TCL only). | ||
235 | +# A mapping has the form "name=value". For example adding "class=itcl::class" | ||
236 | +# will allow you to use the command class in the itcl::class meaning. | ||
237 | + | ||
238 | +TCL_SUBST = | ||
239 | + | ||
240 | +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources | ||
241 | +# only. Doxygen will then generate output that is more tailored for C. For | ||
242 | +# instance, some of the names that are used will be different. The list of all | ||
243 | +# members will be omitted, etc. | ||
244 | +# The default value is: NO. | ||
245 | + | ||
246 | +OPTIMIZE_OUTPUT_FOR_C = NO | ||
247 | + | ||
248 | +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or | ||
249 | +# Python sources only. Doxygen will then generate output that is more tailored | ||
250 | +# for that language. For instance, namespaces will be presented as packages, | ||
251 | +# qualified scopes will look different, etc. | ||
252 | +# The default value is: NO. | ||
253 | + | ||
254 | +OPTIMIZE_OUTPUT_JAVA = NO | ||
255 | + | ||
256 | +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran | ||
257 | +# sources. Doxygen will then generate output that is tailored for Fortran. | ||
258 | +# The default value is: NO. | ||
259 | + | ||
260 | +OPTIMIZE_FOR_FORTRAN = NO | ||
261 | + | ||
262 | +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL | ||
263 | +# sources. Doxygen will then generate output that is tailored for VHDL. | ||
264 | +# The default value is: NO. | ||
265 | + | ||
266 | +OPTIMIZE_OUTPUT_VHDL = NO | ||
267 | + | ||
268 | +# Doxygen selects the parser to use depending on the extension of the files it | ||
269 | +# parses. With this tag you can assign which parser to use for a given | ||
270 | +# extension. Doxygen has a built-in mapping, but you can override or extend it | ||
271 | +# using this tag. The format is ext=language, where ext is a file extension, and | ||
272 | +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, | ||
273 | +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: | ||
274 | +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: | ||
275 | +# Fortran. In the later case the parser tries to guess whether the code is fixed | ||
276 | +# or free formatted code, this is the default for Fortran type files), VHDL. For | ||
277 | +# instance to make doxygen treat .inc files as Fortran files (default is PHP), | ||
278 | +# and .f files as C (default is Fortran), use: inc=Fortran f=C. | ||
279 | +# | ||
280 | +# Note: For files without extension you can use no_extension as a placeholder. | ||
281 | +# | ||
282 | +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise | ||
283 | +# the files are not read by doxygen. | ||
284 | + | ||
285 | +EXTENSION_MAPPING = | ||
286 | + | ||
287 | +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments | ||
288 | +# according to the Markdown format, which allows for more readable | ||
289 | +# documentation. See http://daringfireball.net/projects/markdown/ for details. | ||
290 | +# The output of markdown processing is further processed by doxygen, so you can | ||
291 | +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in | ||
292 | +# case of backward compatibilities issues. | ||
293 | +# The default value is: YES. | ||
294 | + | ||
295 | +MARKDOWN_SUPPORT = YES | ||
296 | + | ||
297 | +# When enabled doxygen tries to link words that correspond to documented | ||
298 | +# classes, or namespaces to their corresponding documentation. Such a link can | ||
299 | +# be prevented in individual cases by putting a % sign in front of the word or | ||
300 | +# globally by setting AUTOLINK_SUPPORT to NO. | ||
301 | +# The default value is: YES. | ||
302 | + | ||
303 | +AUTOLINK_SUPPORT = YES | ||
304 | + | ||
305 | +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want | ||
306 | +# to include (a tag file for) the STL sources as input, then you should set this | ||
307 | +# tag to YES in order to let doxygen match functions declarations and | ||
308 | +# definitions whose arguments contain STL classes (e.g. func(std::string); | ||
309 | +# versus func(std::string) {}). This also make the inheritance and collaboration | ||
310 | +# diagrams that involve STL classes more complete and accurate. | ||
311 | +# The default value is: NO. | ||
312 | + | ||
313 | +BUILTIN_STL_SUPPORT = NO | ||
314 | + | ||
315 | +# If you use Microsoft's C++/CLI language, you should set this option to YES to | ||
316 | +# enable parsing support. | ||
317 | +# The default value is: NO. | ||
318 | + | ||
319 | +CPP_CLI_SUPPORT = NO | ||
320 | + | ||
321 | +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: | ||
322 | +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen | ||
323 | +# will parse them like normal C++ but will assume all classes use public instead | ||
324 | +# of private inheritance when no explicit protection keyword is present. | ||
325 | +# The default value is: NO. | ||
326 | + | ||
327 | +SIP_SUPPORT = NO | ||
328 | + | ||
329 | +# For Microsoft's IDL there are propget and propput attributes to indicate | ||
330 | +# getter and setter methods for a property. Setting this option to YES will make | ||
331 | +# doxygen to replace the get and set methods by a property in the documentation. | ||
332 | +# This will only work if the methods are indeed getting or setting a simple | ||
333 | +# type. If this is not the case, or you want to show the methods anyway, you | ||
334 | +# should set this option to NO. | ||
335 | +# The default value is: YES. | ||
336 | + | ||
337 | +IDL_PROPERTY_SUPPORT = YES | ||
338 | + | ||
339 | +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC | ||
340 | +# tag is set to YES then doxygen will reuse the documentation of the first | ||
341 | +# member in the group (if any) for the other members of the group. By default | ||
342 | +# all members of a group must be documented explicitly. | ||
343 | +# The default value is: NO. | ||
344 | + | ||
345 | +DISTRIBUTE_GROUP_DOC = NO | ||
346 | + | ||
347 | +# Set the SUBGROUPING tag to YES to allow class member groups of the same type | ||
348 | +# (for instance a group of public functions) to be put as a subgroup of that | ||
349 | +# type (e.g. under the Public Functions section). Set it to NO to prevent | ||
350 | +# subgrouping. Alternatively, this can be done per class using the | ||
351 | +# \nosubgrouping command. | ||
352 | +# The default value is: YES. | ||
353 | + | ||
354 | +SUBGROUPING = YES | ||
355 | + | ||
356 | +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions | ||
357 | +# are shown inside the group in which they are included (e.g. using \ingroup) | ||
358 | +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX | ||
359 | +# and RTF). | ||
360 | +# | ||
361 | +# Note that this feature does not work in combination with | ||
362 | +# SEPARATE_MEMBER_PAGES. | ||
363 | +# The default value is: NO. | ||
364 | + | ||
365 | +INLINE_GROUPED_CLASSES = NO | ||
366 | + | ||
367 | +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions | ||
368 | +# with only public data fields or simple typedef fields will be shown inline in | ||
369 | +# the documentation of the scope in which they are defined (i.e. file, | ||
370 | +# namespace, or group documentation), provided this scope is documented. If set | ||
371 | +# to NO, structs, classes, and unions are shown on a separate page (for HTML and | ||
372 | +# Man pages) or section (for LaTeX and RTF). | ||
373 | +# The default value is: NO. | ||
374 | + | ||
375 | +INLINE_SIMPLE_STRUCTS = NO | ||
376 | + | ||
377 | +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or | ||
378 | +# enum is documented as struct, union, or enum with the name of the typedef. So | ||
379 | +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct | ||
380 | +# with name TypeT. When disabled the typedef will appear as a member of a file, | ||
381 | +# namespace, or class. And the struct will be named TypeS. This can typically be | ||
382 | +# useful for C code in case the coding convention dictates that all compound | ||
383 | +# types are typedef'ed and only the typedef is referenced, never the tag name. | ||
384 | +# The default value is: NO. | ||
385 | + | ||
386 | +TYPEDEF_HIDES_STRUCT = NO | ||
387 | + | ||
388 | +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This | ||
389 | +# cache is used to resolve symbols given their name and scope. Since this can be | ||
390 | +# an expensive process and often the same symbol appears multiple times in the | ||
391 | +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small | ||
392 | +# doxygen will become slower. If the cache is too large, memory is wasted. The | ||
393 | +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range | ||
394 | +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 | ||
395 | +# symbols. At the end of a run doxygen will report the cache usage and suggest | ||
396 | +# the optimal cache size from a speed point of view. | ||
397 | +# Minimum value: 0, maximum value: 9, default value: 0. | ||
398 | + | ||
399 | +LOOKUP_CACHE_SIZE = 0 | ||
400 | + | ||
401 | +#--------------------------------------------------------------------------- | ||
402 | +# Build related configuration options | ||
403 | +#--------------------------------------------------------------------------- | ||
404 | + | ||
405 | +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in | ||
406 | +# documentation are documented, even if no documentation was available. Private | ||
407 | +# class members and static file members will be hidden unless the | ||
408 | +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. | ||
409 | +# Note: This will also disable the warnings about undocumented members that are | ||
410 | +# normally produced when WARNINGS is set to YES. | ||
411 | +# The default value is: NO. | ||
412 | + | ||
413 | +EXTRACT_ALL = NO | ||
414 | + | ||
415 | +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will | ||
416 | +# be included in the documentation. | ||
417 | +# The default value is: NO. | ||
418 | + | ||
419 | +EXTRACT_PRIVATE = NO | ||
420 | + | ||
421 | +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal | ||
422 | +# scope will be included in the documentation. | ||
423 | +# The default value is: NO. | ||
424 | + | ||
425 | +EXTRACT_PACKAGE = NO | ||
426 | + | ||
427 | +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be | ||
428 | +# included in the documentation. | ||
429 | +# The default value is: NO. | ||
430 | + | ||
431 | +EXTRACT_STATIC = NO | ||
432 | + | ||
433 | +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined | ||
434 | +# locally in source files will be included in the documentation. If set to NO, | ||
435 | +# only classes defined in header files are included. Does not have any effect | ||
436 | +# for Java sources. | ||
437 | +# The default value is: YES. | ||
438 | + | ||
439 | +EXTRACT_LOCAL_CLASSES = YES | ||
440 | + | ||
441 | +# This flag is only useful for Objective-C code. If set to YES, local methods, | ||
442 | +# which are defined in the implementation section but not in the interface are | ||
443 | +# included in the documentation. If set to NO, only methods in the interface are | ||
444 | +# included. | ||
445 | +# The default value is: NO. | ||
446 | + | ||
447 | +EXTRACT_LOCAL_METHODS = NO | ||
448 | + | ||
449 | +# If this flag is set to YES, the members of anonymous namespaces will be | ||
450 | +# extracted and appear in the documentation as a namespace called | ||
451 | +# 'anonymous_namespace{file}', where file will be replaced with the base name of | ||
452 | +# the file that contains the anonymous namespace. By default anonymous namespace | ||
453 | +# are hidden. | ||
454 | +# The default value is: NO. | ||
455 | + | ||
456 | +EXTRACT_ANON_NSPACES = NO | ||
457 | + | ||
458 | +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all | ||
459 | +# undocumented members inside documented classes or files. If set to NO these | ||
460 | +# members will be included in the various overviews, but no documentation | ||
461 | +# section is generated. This option has no effect if EXTRACT_ALL is enabled. | ||
462 | +# The default value is: NO. | ||
463 | + | ||
464 | +HIDE_UNDOC_MEMBERS = NO | ||
465 | + | ||
466 | +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all | ||
467 | +# undocumented classes that are normally visible in the class hierarchy. If set | ||
468 | +# to NO, these classes will be included in the various overviews. This option | ||
469 | +# has no effect if EXTRACT_ALL is enabled. | ||
470 | +# The default value is: NO. | ||
471 | + | ||
472 | +HIDE_UNDOC_CLASSES = NO | ||
473 | + | ||
474 | +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend | ||
475 | +# (class|struct|union) declarations. If set to NO, these declarations will be | ||
476 | +# included in the documentation. | ||
477 | +# The default value is: NO. | ||
478 | + | ||
479 | +HIDE_FRIEND_COMPOUNDS = NO | ||
480 | + | ||
481 | +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any | ||
482 | +# documentation blocks found inside the body of a function. If set to NO, these | ||
483 | +# blocks will be appended to the function's detailed documentation block. | ||
484 | +# The default value is: NO. | ||
485 | + | ||
486 | +HIDE_IN_BODY_DOCS = NO | ||
487 | + | ||
488 | +# The INTERNAL_DOCS tag determines if documentation that is typed after a | ||
489 | +# \internal command is included. If the tag is set to NO then the documentation | ||
490 | +# will be excluded. Set it to YES to include the internal documentation. | ||
491 | +# The default value is: NO. | ||
492 | + | ||
493 | +INTERNAL_DOCS = NO | ||
494 | + | ||
495 | +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file | ||
496 | +# names in lower-case letters. If set to YES, upper-case letters are also | ||
497 | +# allowed. This is useful if you have classes or files whose names only differ | ||
498 | +# in case and if your file system supports case sensitive file names. Windows | ||
499 | +# and Mac users are advised to set this option to NO. | ||
500 | +# The default value is: system dependent. | ||
501 | + | ||
502 | +CASE_SENSE_NAMES = NO | ||
503 | + | ||
504 | +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with | ||
505 | +# their full class and namespace scopes in the documentation. If set to YES, the | ||
506 | +# scope will be hidden. | ||
507 | +# The default value is: NO. | ||
508 | + | ||
509 | +HIDE_SCOPE_NAMES = NO | ||
510 | + | ||
511 | +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will | ||
512 | +# append additional text to a page's title, such as Class Reference. If set to | ||
513 | +# YES the compound reference will be hidden. | ||
514 | +# The default value is: NO. | ||
515 | + | ||
516 | +HIDE_COMPOUND_REFERENCE= NO | ||
517 | + | ||
518 | +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of | ||
519 | +# the files that are included by a file in the documentation of that file. | ||
520 | +# The default value is: YES. | ||
521 | + | ||
522 | +SHOW_INCLUDE_FILES = YES | ||
523 | + | ||
524 | +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each | ||
525 | +# grouped member an include statement to the documentation, telling the reader | ||
526 | +# which file to include in order to use the member. | ||
527 | +# The default value is: NO. | ||
528 | + | ||
529 | +SHOW_GROUPED_MEMB_INC = NO | ||
530 | + | ||
531 | +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include | ||
532 | +# files with double quotes in the documentation rather than with sharp brackets. | ||
533 | +# The default value is: NO. | ||
534 | + | ||
535 | +FORCE_LOCAL_INCLUDES = NO | ||
536 | + | ||
537 | +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the | ||
538 | +# documentation for inline members. | ||
539 | +# The default value is: YES. | ||
540 | + | ||
541 | +INLINE_INFO = YES | ||
542 | + | ||
543 | +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the | ||
544 | +# (detailed) documentation of file and class members alphabetically by member | ||
545 | +# name. If set to NO, the members will appear in declaration order. | ||
546 | +# The default value is: YES. | ||
547 | + | ||
548 | +SORT_MEMBER_DOCS = YES | ||
549 | + | ||
550 | +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief | ||
551 | +# descriptions of file, namespace and class members alphabetically by member | ||
552 | +# name. If set to NO, the members will appear in declaration order. Note that | ||
553 | +# this will also influence the order of the classes in the class list. | ||
554 | +# The default value is: NO. | ||
555 | + | ||
556 | +SORT_BRIEF_DOCS = NO | ||
557 | + | ||
558 | +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the | ||
559 | +# (brief and detailed) documentation of class members so that constructors and | ||
560 | +# destructors are listed first. If set to NO the constructors will appear in the | ||
561 | +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. | ||
562 | +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief | ||
563 | +# member documentation. | ||
564 | +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting | ||
565 | +# detailed member documentation. | ||
566 | +# The default value is: NO. | ||
567 | + | ||
568 | +SORT_MEMBERS_CTORS_1ST = NO | ||
569 | + | ||
570 | +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy | ||
571 | +# of group names into alphabetical order. If set to NO the group names will | ||
572 | +# appear in their defined order. | ||
573 | +# The default value is: NO. | ||
574 | + | ||
575 | +SORT_GROUP_NAMES = NO | ||
576 | + | ||
577 | +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by | ||
578 | +# fully-qualified names, including namespaces. If set to NO, the class list will | ||
579 | +# be sorted only by class name, not including the namespace part. | ||
580 | +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. | ||
581 | +# Note: This option applies only to the class list, not to the alphabetical | ||
582 | +# list. | ||
583 | +# The default value is: NO. | ||
584 | + | ||
585 | +SORT_BY_SCOPE_NAME = NO | ||
586 | + | ||
587 | +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper | ||
588 | +# type resolution of all parameters of a function it will reject a match between | ||
589 | +# the prototype and the implementation of a member function even if there is | ||
590 | +# only one candidate or it is obvious which candidate to choose by doing a | ||
591 | +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still | ||
592 | +# accept a match between prototype and implementation in such cases. | ||
593 | +# The default value is: NO. | ||
594 | + | ||
595 | +STRICT_PROTO_MATCHING = NO | ||
596 | + | ||
597 | +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo | ||
598 | +# list. This list is created by putting \todo commands in the documentation. | ||
599 | +# The default value is: YES. | ||
600 | + | ||
601 | +GENERATE_TODOLIST = YES | ||
602 | + | ||
603 | +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test | ||
604 | +# list. This list is created by putting \test commands in the documentation. | ||
605 | +# The default value is: YES. | ||
606 | + | ||
607 | +GENERATE_TESTLIST = YES | ||
608 | + | ||
609 | +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug | ||
610 | +# list. This list is created by putting \bug commands in the documentation. | ||
611 | +# The default value is: YES. | ||
612 | + | ||
613 | +GENERATE_BUGLIST = YES | ||
614 | + | ||
615 | +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) | ||
616 | +# the deprecated list. This list is created by putting \deprecated commands in | ||
617 | +# the documentation. | ||
618 | +# The default value is: YES. | ||
619 | + | ||
620 | +GENERATE_DEPRECATEDLIST= YES | ||
621 | + | ||
622 | +# The ENABLED_SECTIONS tag can be used to enable conditional documentation | ||
623 | +# sections, marked by \if <section_label> ... \endif and \cond <section_label> | ||
624 | +# ... \endcond blocks. | ||
625 | + | ||
626 | +ENABLED_SECTIONS = | ||
627 | + | ||
628 | +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the | ||
629 | +# initial value of a variable or macro / define can have for it to appear in the | ||
630 | +# documentation. If the initializer consists of more lines than specified here | ||
631 | +# it will be hidden. Use a value of 0 to hide initializers completely. The | ||
632 | +# appearance of the value of individual variables and macros / defines can be | ||
633 | +# controlled using \showinitializer or \hideinitializer command in the | ||
634 | +# documentation regardless of this setting. | ||
635 | +# Minimum value: 0, maximum value: 10000, default value: 30. | ||
636 | + | ||
637 | +MAX_INITIALIZER_LINES = 30 | ||
638 | + | ||
639 | +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at | ||
640 | +# the bottom of the documentation of classes and structs. If set to YES, the | ||
641 | +# list will mention the files that were used to generate the documentation. | ||
642 | +# The default value is: YES. | ||
643 | + | ||
644 | +SHOW_USED_FILES = YES | ||
645 | + | ||
646 | +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This | ||
647 | +# will remove the Files entry from the Quick Index and from the Folder Tree View | ||
648 | +# (if specified). | ||
649 | +# The default value is: YES. | ||
650 | + | ||
651 | +SHOW_FILES = YES | ||
652 | + | ||
653 | +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces | ||
654 | +# page. This will remove the Namespaces entry from the Quick Index and from the | ||
655 | +# Folder Tree View (if specified). | ||
656 | +# The default value is: YES. | ||
657 | + | ||
658 | +SHOW_NAMESPACES = YES | ||
659 | + | ||
660 | +# The FILE_VERSION_FILTER tag can be used to specify a program or script that | ||
661 | +# doxygen should invoke to get the current version for each file (typically from | ||
662 | +# the version control system). Doxygen will invoke the program by executing (via | ||
663 | +# popen()) the command command input-file, where command is the value of the | ||
664 | +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided | ||
665 | +# by doxygen. Whatever the program writes to standard output is used as the file | ||
666 | +# version. For an example see the documentation. | ||
667 | + | ||
668 | +FILE_VERSION_FILTER = | ||
669 | + | ||
670 | +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed | ||
671 | +# by doxygen. The layout file controls the global structure of the generated | ||
672 | +# output files in an output format independent way. To create the layout file | ||
673 | +# that represents doxygen's defaults, run doxygen with the -l option. You can | ||
674 | +# optionally specify a file name after the option, if omitted DoxygenLayout.xml | ||
675 | +# will be used as the name of the layout file. | ||
676 | +# | ||
677 | +# Note that if you run doxygen from a directory containing a file called | ||
678 | +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE | ||
679 | +# tag is left empty. | ||
680 | + | ||
681 | +LAYOUT_FILE = | ||
682 | + | ||
683 | +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing | ||
684 | +# the reference definitions. This must be a list of .bib files. The .bib | ||
685 | +# extension is automatically appended if omitted. This requires the bibtex tool | ||
686 | +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. | ||
687 | +# For LaTeX the style of the bibliography can be controlled using | ||
688 | +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the | ||
689 | +# search path. See also \cite for info how to create references. | ||
690 | + | ||
691 | +CITE_BIB_FILES = | ||
692 | + | ||
693 | +#--------------------------------------------------------------------------- | ||
694 | +# Configuration options related to warning and progress messages | ||
695 | +#--------------------------------------------------------------------------- | ||
696 | + | ||
697 | +# The QUIET tag can be used to turn on/off the messages that are generated to | ||
698 | +# standard output by doxygen. If QUIET is set to YES this implies that the | ||
699 | +# messages are off. | ||
700 | +# The default value is: NO. | ||
701 | + | ||
702 | +QUIET = NO | ||
703 | + | ||
704 | +# The WARNINGS tag can be used to turn on/off the warning messages that are | ||
705 | +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES | ||
706 | +# this implies that the warnings are on. | ||
707 | +# | ||
708 | +# Tip: Turn warnings on while writing the documentation. | ||
709 | +# The default value is: YES. | ||
710 | + | ||
711 | +WARNINGS = YES | ||
712 | + | ||
713 | +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate | ||
714 | +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag | ||
715 | +# will automatically be disabled. | ||
716 | +# The default value is: YES. | ||
717 | + | ||
718 | +WARN_IF_UNDOCUMENTED = YES | ||
719 | + | ||
720 | +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for | ||
721 | +# potential errors in the documentation, such as not documenting some parameters | ||
722 | +# in a documented function, or documenting parameters that don't exist or using | ||
723 | +# markup commands wrongly. | ||
724 | +# The default value is: YES. | ||
725 | + | ||
726 | +WARN_IF_DOC_ERROR = YES | ||
727 | + | ||
728 | +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that | ||
729 | +# are documented, but have no documentation for their parameters or return | ||
730 | +# value. If set to NO, doxygen will only warn about wrong or incomplete | ||
731 | +# parameter documentation, but not about the absence of documentation. | ||
732 | +# The default value is: NO. | ||
733 | + | ||
734 | +WARN_NO_PARAMDOC = NO | ||
735 | + | ||
736 | +# The WARN_FORMAT tag determines the format of the warning messages that doxygen | ||
737 | +# can produce. The string should contain the $file, $line, and $text tags, which | ||
738 | +# will be replaced by the file and line number from which the warning originated | ||
739 | +# and the warning text. Optionally the format may contain $version, which will | ||
740 | +# be replaced by the version of the file (if it could be obtained via | ||
741 | +# FILE_VERSION_FILTER) | ||
742 | +# The default value is: $file:$line: $text. | ||
743 | + | ||
744 | +WARN_FORMAT = "$file:$line: $text" | ||
745 | + | ||
746 | +# The WARN_LOGFILE tag can be used to specify a file to which warning and error | ||
747 | +# messages should be written. If left blank the output is written to standard | ||
748 | +# error (stderr). | ||
749 | + | ||
750 | +WARN_LOGFILE = | ||
751 | + | ||
752 | +#--------------------------------------------------------------------------- | ||
753 | +# Configuration options related to the input files | ||
754 | +#--------------------------------------------------------------------------- | ||
755 | + | ||
756 | +# The INPUT tag is used to specify the files and/or directories that contain | ||
757 | +# documented source files. You may enter file names like myfile.cpp or | ||
758 | +# directories like /usr/src/myproject. Separate the files or directories with | ||
759 | +# spaces. | ||
760 | +# Note: If this tag is empty the current directory is searched. | ||
761 | + | ||
762 | +INPUT = src/ README.md | ||
763 | + | ||
764 | +# This tag can be used to specify the character encoding of the source files | ||
765 | +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses | ||
766 | +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv | ||
767 | +# documentation (see: http://www.gnu.org/software/libiconv) for the list of | ||
768 | +# possible encodings. | ||
769 | +# The default value is: UTF-8. | ||
770 | + | ||
771 | +INPUT_ENCODING = UTF-8 | ||
772 | + | ||
773 | +# If the value of the INPUT tag contains directories, you can use the | ||
774 | +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and | ||
775 | +# *.h) to filter out the source-files in the directories. If left blank the | ||
776 | +# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, | ||
777 | +# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, | ||
778 | +# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, | ||
779 | +# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, | ||
780 | +# *.qsf, *.as and *.js. | ||
781 | + | ||
782 | +FILE_PATTERNS = | ||
783 | + | ||
784 | +# The RECURSIVE tag can be used to specify whether or not subdirectories should | ||
785 | +# be searched for input files as well. | ||
786 | +# The default value is: NO. | ||
787 | + | ||
788 | +RECURSIVE = YES | ||
789 | + | ||
790 | +# The EXCLUDE tag can be used to specify files and/or directories that should be | ||
791 | +# excluded from the INPUT source files. This way you can easily exclude a | ||
792 | +# subdirectory from a directory tree whose root is specified with the INPUT tag. | ||
793 | +# | ||
794 | +# Note that relative paths are relative to the directory from which doxygen is | ||
795 | +# run. | ||
796 | + | ||
797 | +EXCLUDE = | ||
798 | + | ||
799 | +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or | ||
800 | +# directories that are symbolic links (a Unix file system feature) are excluded | ||
801 | +# from the input. | ||
802 | +# The default value is: NO. | ||
803 | + | ||
804 | +EXCLUDE_SYMLINKS = NO | ||
805 | + | ||
806 | +# If the value of the INPUT tag contains directories, you can use the | ||
807 | +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude | ||
808 | +# certain files from those directories. | ||
809 | +# | ||
810 | +# Note that the wildcards are matched against the file with absolute path, so to | ||
811 | +# exclude all test directories for example use the pattern */test/* | ||
812 | + | ||
813 | +EXCLUDE_PATTERNS = | ||
814 | + | ||
815 | +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names | ||
816 | +# (namespaces, classes, functions, etc.) that should be excluded from the | ||
817 | +# output. The symbol name can be a fully qualified name, a word, or if the | ||
818 | +# wildcard * is used, a substring. Examples: ANamespace, AClass, | ||
819 | +# AClass::ANamespace, ANamespace::*Test | ||
820 | +# | ||
821 | +# Note that the wildcards are matched against the file with absolute path, so to | ||
822 | +# exclude all test directories use the pattern */test/* | ||
823 | + | ||
824 | +EXCLUDE_SYMBOLS = | ||
825 | + | ||
826 | +# The EXAMPLE_PATH tag can be used to specify one or more files or directories | ||
827 | +# that contain example code fragments that are included (see the \include | ||
828 | +# command). | ||
829 | + | ||
830 | +EXAMPLE_PATH = | ||
831 | + | ||
832 | +# If the value of the EXAMPLE_PATH tag contains directories, you can use the | ||
833 | +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and | ||
834 | +# *.h) to filter out the source-files in the directories. If left blank all | ||
835 | +# files are included. | ||
836 | + | ||
837 | +EXAMPLE_PATTERNS = | ||
838 | + | ||
839 | +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be | ||
840 | +# searched for input files to be used with the \include or \dontinclude commands | ||
841 | +# irrespective of the value of the RECURSIVE tag. | ||
842 | +# The default value is: NO. | ||
843 | + | ||
844 | +EXAMPLE_RECURSIVE = NO | ||
845 | + | ||
846 | +# The IMAGE_PATH tag can be used to specify one or more files or directories | ||
847 | +# that contain images that are to be included in the documentation (see the | ||
848 | +# \image command). | ||
849 | + | ||
850 | +IMAGE_PATH = | ||
851 | + | ||
852 | +# The INPUT_FILTER tag can be used to specify a program that doxygen should | ||
853 | +# invoke to filter for each input file. Doxygen will invoke the filter program | ||
854 | +# by executing (via popen()) the command: | ||
855 | +# | ||
856 | +# <filter> <input-file> | ||
857 | +# | ||
858 | +# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the | ||
859 | +# name of an input file. Doxygen will then use the output that the filter | ||
860 | +# program writes to standard output. If FILTER_PATTERNS is specified, this tag | ||
861 | +# will be ignored. | ||
862 | +# | ||
863 | +# Note that the filter must not add or remove lines; it is applied before the | ||
864 | +# code is scanned, but not when the output code is generated. If lines are added | ||
865 | +# or removed, the anchors will not be placed correctly. | ||
866 | + | ||
867 | +INPUT_FILTER = | ||
868 | + | ||
869 | +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern | ||
870 | +# basis. Doxygen will compare the file name with each pattern and apply the | ||
871 | +# filter if there is a match. The filters are a list of the form: pattern=filter | ||
872 | +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how | ||
873 | +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the | ||
874 | +# patterns match the file name, INPUT_FILTER is applied. | ||
875 | + | ||
876 | +FILTER_PATTERNS = | ||
877 | + | ||
878 | +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using | ||
879 | +# INPUT_FILTER) will also be used to filter the input files that are used for | ||
880 | +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). | ||
881 | +# The default value is: NO. | ||
882 | + | ||
883 | +FILTER_SOURCE_FILES = NO | ||
884 | + | ||
885 | +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file | ||
886 | +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and | ||
887 | +# it is also possible to disable source filtering for a specific pattern using | ||
888 | +# *.ext= (so without naming a filter). | ||
889 | +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. | ||
890 | + | ||
891 | +FILTER_SOURCE_PATTERNS = | ||
892 | + | ||
893 | +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that | ||
894 | +# is part of the input, its contents will be placed on the main page | ||
895 | +# (index.html). This can be useful if you have a project on for instance GitHub | ||
896 | +# and want to reuse the introduction page also for the doxygen output. | ||
897 | + | ||
898 | +USE_MDFILE_AS_MAINPAGE = README.md | ||
899 | + | ||
900 | +#--------------------------------------------------------------------------- | ||
901 | +# Configuration options related to source browsing | ||
902 | +#--------------------------------------------------------------------------- | ||
903 | + | ||
904 | +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be | ||
905 | +# generated. Documented entities will be cross-referenced with these sources. | ||
906 | +# | ||
907 | +# Note: To get rid of all source code in the generated output, make sure that | ||
908 | +# also VERBATIM_HEADERS is set to NO. | ||
909 | +# The default value is: NO. | ||
910 | + | ||
911 | +SOURCE_BROWSER = NO | ||
912 | + | ||
913 | +# Setting the INLINE_SOURCES tag to YES will include the body of functions, | ||
914 | +# classes and enums directly into the documentation. | ||
915 | +# The default value is: NO. | ||
916 | + | ||
917 | +INLINE_SOURCES = NO | ||
918 | + | ||
919 | +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any | ||
920 | +# special comment blocks from generated source code fragments. Normal C, C++ and | ||
921 | +# Fortran comments will always remain visible. | ||
922 | +# The default value is: YES. | ||
923 | + | ||
924 | +STRIP_CODE_COMMENTS = YES | ||
925 | + | ||
926 | +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented | ||
927 | +# function all documented functions referencing it will be listed. | ||
928 | +# The default value is: NO. | ||
929 | + | ||
930 | +REFERENCED_BY_RELATION = NO | ||
931 | + | ||
932 | +# If the REFERENCES_RELATION tag is set to YES then for each documented function | ||
933 | +# all documented entities called/used by that function will be listed. | ||
934 | +# The default value is: NO. | ||
935 | + | ||
936 | +REFERENCES_RELATION = NO | ||
937 | + | ||
938 | +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set | ||
939 | +# to YES then the hyperlinks from functions in REFERENCES_RELATION and | ||
940 | +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will | ||
941 | +# link to the documentation. | ||
942 | +# The default value is: YES. | ||
943 | + | ||
944 | +REFERENCES_LINK_SOURCE = YES | ||
945 | + | ||
946 | +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the | ||
947 | +# source code will show a tooltip with additional information such as prototype, | ||
948 | +# brief description and links to the definition and documentation. Since this | ||
949 | +# will make the HTML file larger and loading of large files a bit slower, you | ||
950 | +# can opt to disable this feature. | ||
951 | +# The default value is: YES. | ||
952 | +# This tag requires that the tag SOURCE_BROWSER is set to YES. | ||
953 | + | ||
954 | +SOURCE_TOOLTIPS = YES | ||
955 | + | ||
956 | +# If the USE_HTAGS tag is set to YES then the references to source code will | ||
957 | +# point to the HTML generated by the htags(1) tool instead of doxygen built-in | ||
958 | +# source browser. The htags tool is part of GNU's global source tagging system | ||
959 | +# (see http://www.gnu.org/software/global/global.html). You will need version | ||
960 | +# 4.8.6 or higher. | ||
961 | +# | ||
962 | +# To use it do the following: | ||
963 | +# - Install the latest version of global | ||
964 | +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file | ||
965 | +# - Make sure the INPUT points to the root of the source tree | ||
966 | +# - Run doxygen as normal | ||
967 | +# | ||
968 | +# Doxygen will invoke htags (and that will in turn invoke gtags), so these | ||
969 | +# tools must be available from the command line (i.e. in the search path). | ||
970 | +# | ||
971 | +# The result: instead of the source browser generated by doxygen, the links to | ||
972 | +# source code will now point to the output of htags. | ||
973 | +# The default value is: NO. | ||
974 | +# This tag requires that the tag SOURCE_BROWSER is set to YES. | ||
975 | + | ||
976 | +USE_HTAGS = NO | ||
977 | + | ||
978 | +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a | ||
979 | +# verbatim copy of the header file for each class for which an include is | ||
980 | +# specified. Set to NO to disable this. | ||
981 | +# See also: Section \class. | ||
982 | +# The default value is: YES. | ||
983 | + | ||
984 | +VERBATIM_HEADERS = YES | ||
985 | + | ||
986 | +#--------------------------------------------------------------------------- | ||
987 | +# Configuration options related to the alphabetical class index | ||
988 | +#--------------------------------------------------------------------------- | ||
989 | + | ||
990 | +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all | ||
991 | +# compounds will be generated. Enable this if the project contains a lot of | ||
992 | +# classes, structs, unions or interfaces. | ||
993 | +# The default value is: YES. | ||
994 | + | ||
995 | +ALPHABETICAL_INDEX = YES | ||
996 | + | ||
997 | +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in | ||
998 | +# which the alphabetical index list will be split. | ||
999 | +# Minimum value: 1, maximum value: 20, default value: 5. | ||
1000 | +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. | ||
1001 | + | ||
1002 | +COLS_IN_ALPHA_INDEX = 5 | ||
1003 | + | ||
1004 | +# In case all classes in a project start with a common prefix, all classes will | ||
1005 | +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag | ||
1006 | +# can be used to specify a prefix (or a list of prefixes) that should be ignored | ||
1007 | +# while generating the index headers. | ||
1008 | +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. | ||
1009 | + | ||
1010 | +IGNORE_PREFIX = | ||
1011 | + | ||
1012 | +#--------------------------------------------------------------------------- | ||
1013 | +# Configuration options related to the HTML output | ||
1014 | +#--------------------------------------------------------------------------- | ||
1015 | + | ||
1016 | +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output | ||
1017 | +# The default value is: YES. | ||
1018 | + | ||
1019 | +GENERATE_HTML = YES | ||
1020 | + | ||
1021 | +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a | ||
1022 | +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of | ||
1023 | +# it. | ||
1024 | +# The default directory is: html. | ||
1025 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1026 | + | ||
1027 | +HTML_OUTPUT = html | ||
1028 | + | ||
1029 | +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each | ||
1030 | +# generated HTML page (for example: .htm, .php, .asp). | ||
1031 | +# The default value is: .html. | ||
1032 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1033 | + | ||
1034 | +HTML_FILE_EXTENSION = .html | ||
1035 | + | ||
1036 | +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for | ||
1037 | +# each generated HTML page. If the tag is left blank doxygen will generate a | ||
1038 | +# standard header. | ||
1039 | +# | ||
1040 | +# To get valid HTML the header file that includes any scripts and style sheets | ||
1041 | +# that doxygen needs, which is dependent on the configuration options used (e.g. | ||
1042 | +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a | ||
1043 | +# default header using | ||
1044 | +# doxygen -w html new_header.html new_footer.html new_stylesheet.css | ||
1045 | +# YourConfigFile | ||
1046 | +# and then modify the file new_header.html. See also section "Doxygen usage" | ||
1047 | +# for information on how to generate the default header that doxygen normally | ||
1048 | +# uses. | ||
1049 | +# Note: The header is subject to change so you typically have to regenerate the | ||
1050 | +# default header when upgrading to a newer version of doxygen. For a description | ||
1051 | +# of the possible markers and block names see the documentation. | ||
1052 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1053 | + | ||
1054 | +HTML_HEADER = | ||
1055 | + | ||
1056 | +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each | ||
1057 | +# generated HTML page. If the tag is left blank doxygen will generate a standard | ||
1058 | +# footer. See HTML_HEADER for more information on how to generate a default | ||
1059 | +# footer and what special commands can be used inside the footer. See also | ||
1060 | +# section "Doxygen usage" for information on how to generate the default footer | ||
1061 | +# that doxygen normally uses. | ||
1062 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1063 | + | ||
1064 | +HTML_FOOTER = | ||
1065 | + | ||
1066 | +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style | ||
1067 | +# sheet that is used by each HTML page. It can be used to fine-tune the look of | ||
1068 | +# the HTML output. If left blank doxygen will generate a default style sheet. | ||
1069 | +# See also section "Doxygen usage" for information on how to generate the style | ||
1070 | +# sheet that doxygen normally uses. | ||
1071 | +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as | ||
1072 | +# it is more robust and this tag (HTML_STYLESHEET) will in the future become | ||
1073 | +# obsolete. | ||
1074 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1075 | + | ||
1076 | +HTML_STYLESHEET = | ||
1077 | + | ||
1078 | +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined | ||
1079 | +# cascading style sheets that are included after the standard style sheets | ||
1080 | +# created by doxygen. Using this option one can overrule certain style aspects. | ||
1081 | +# This is preferred over using HTML_STYLESHEET since it does not replace the | ||
1082 | +# standard style sheet and is therefore more robust against future updates. | ||
1083 | +# Doxygen will copy the style sheet files to the output directory. | ||
1084 | +# Note: The order of the extra stylesheet files is of importance (e.g. the last | ||
1085 | +# stylesheet in the list overrules the setting of the previous ones in the | ||
1086 | +# list). For an example see the documentation. | ||
1087 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1088 | + | ||
1089 | +HTML_EXTRA_STYLESHEET = | ||
1090 | + | ||
1091 | +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or | ||
1092 | +# other source files which should be copied to the HTML output directory. Note | ||
1093 | +# that these files will be copied to the base HTML output directory. Use the | ||
1094 | +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these | ||
1095 | +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the | ||
1096 | +# files will be copied as-is; there are no commands or markers available. | ||
1097 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1098 | + | ||
1099 | +HTML_EXTRA_FILES = | ||
1100 | + | ||
1101 | +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen | ||
1102 | +# will adjust the colors in the stylesheet and background images according to | ||
1103 | +# this color. Hue is specified as an angle on a colorwheel, see | ||
1104 | +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value | ||
1105 | +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 | ||
1106 | +# purple, and 360 is red again. | ||
1107 | +# Minimum value: 0, maximum value: 359, default value: 220. | ||
1108 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1109 | + | ||
1110 | +HTML_COLORSTYLE_HUE = 220 | ||
1111 | + | ||
1112 | +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors | ||
1113 | +# in the HTML output. For a value of 0 the output will use grayscales only. A | ||
1114 | +# value of 255 will produce the most vivid colors. | ||
1115 | +# Minimum value: 0, maximum value: 255, default value: 100. | ||
1116 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1117 | + | ||
1118 | +HTML_COLORSTYLE_SAT = 100 | ||
1119 | + | ||
1120 | +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the | ||
1121 | +# luminance component of the colors in the HTML output. Values below 100 | ||
1122 | +# gradually make the output lighter, whereas values above 100 make the output | ||
1123 | +# darker. The value divided by 100 is the actual gamma applied, so 80 represents | ||
1124 | +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not | ||
1125 | +# change the gamma. | ||
1126 | +# Minimum value: 40, maximum value: 240, default value: 80. | ||
1127 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1128 | + | ||
1129 | +HTML_COLORSTYLE_GAMMA = 80 | ||
1130 | + | ||
1131 | +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML | ||
1132 | +# page will contain the date and time when the page was generated. Setting this | ||
1133 | +# to NO can help when comparing the output of multiple runs. | ||
1134 | +# The default value is: YES. | ||
1135 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1136 | + | ||
1137 | +HTML_TIMESTAMP = YES | ||
1138 | + | ||
1139 | +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML | ||
1140 | +# documentation will contain sections that can be hidden and shown after the | ||
1141 | +# page has loaded. | ||
1142 | +# The default value is: NO. | ||
1143 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1144 | + | ||
1145 | +HTML_DYNAMIC_SECTIONS = NO | ||
1146 | + | ||
1147 | +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries | ||
1148 | +# shown in the various tree structured indices initially; the user can expand | ||
1149 | +# and collapse entries dynamically later on. Doxygen will expand the tree to | ||
1150 | +# such a level that at most the specified number of entries are visible (unless | ||
1151 | +# a fully collapsed tree already exceeds this amount). So setting the number of | ||
1152 | +# entries 1 will produce a full collapsed tree by default. 0 is a special value | ||
1153 | +# representing an infinite number of entries and will result in a full expanded | ||
1154 | +# tree by default. | ||
1155 | +# Minimum value: 0, maximum value: 9999, default value: 100. | ||
1156 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1157 | + | ||
1158 | +HTML_INDEX_NUM_ENTRIES = 100 | ||
1159 | + | ||
1160 | +# If the GENERATE_DOCSET tag is set to YES, additional index files will be | ||
1161 | +# generated that can be used as input for Apple's Xcode 3 integrated development | ||
1162 | +# environment (see: http://developer.apple.com/tools/xcode/), introduced with | ||
1163 | +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a | ||
1164 | +# Makefile in the HTML output directory. Running make will produce the docset in | ||
1165 | +# that directory and running make install will install the docset in | ||
1166 | +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at | ||
1167 | +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html | ||
1168 | +# for more information. | ||
1169 | +# The default value is: NO. | ||
1170 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1171 | + | ||
1172 | +GENERATE_DOCSET = NO | ||
1173 | + | ||
1174 | +# This tag determines the name of the docset feed. A documentation feed provides | ||
1175 | +# an umbrella under which multiple documentation sets from a single provider | ||
1176 | +# (such as a company or product suite) can be grouped. | ||
1177 | +# The default value is: Doxygen generated docs. | ||
1178 | +# This tag requires that the tag GENERATE_DOCSET is set to YES. | ||
1179 | + | ||
1180 | +DOCSET_FEEDNAME = "Doxygen generated docs" | ||
1181 | + | ||
1182 | +# This tag specifies a string that should uniquely identify the documentation | ||
1183 | +# set bundle. This should be a reverse domain-name style string, e.g. | ||
1184 | +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. | ||
1185 | +# The default value is: org.doxygen.Project. | ||
1186 | +# This tag requires that the tag GENERATE_DOCSET is set to YES. | ||
1187 | + | ||
1188 | +DOCSET_BUNDLE_ID = org.doxygen.Project | ||
1189 | + | ||
1190 | +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify | ||
1191 | +# the documentation publisher. This should be a reverse domain-name style | ||
1192 | +# string, e.g. com.mycompany.MyDocSet.documentation. | ||
1193 | +# The default value is: org.doxygen.Publisher. | ||
1194 | +# This tag requires that the tag GENERATE_DOCSET is set to YES. | ||
1195 | + | ||
1196 | +DOCSET_PUBLISHER_ID = org.doxygen.Publisher | ||
1197 | + | ||
1198 | +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. | ||
1199 | +# The default value is: Publisher. | ||
1200 | +# This tag requires that the tag GENERATE_DOCSET is set to YES. | ||
1201 | + | ||
1202 | +DOCSET_PUBLISHER_NAME = Publisher | ||
1203 | + | ||
1204 | +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three | ||
1205 | +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The | ||
1206 | +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop | ||
1207 | +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on | ||
1208 | +# Windows. | ||
1209 | +# | ||
1210 | +# The HTML Help Workshop contains a compiler that can convert all HTML output | ||
1211 | +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML | ||
1212 | +# files are now used as the Windows 98 help format, and will replace the old | ||
1213 | +# Windows help format (.hlp) on all Windows platforms in the future. Compressed | ||
1214 | +# HTML files also contain an index, a table of contents, and you can search for | ||
1215 | +# words in the documentation. The HTML workshop also contains a viewer for | ||
1216 | +# compressed HTML files. | ||
1217 | +# The default value is: NO. | ||
1218 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1219 | + | ||
1220 | +GENERATE_HTMLHELP = NO | ||
1221 | + | ||
1222 | +# The CHM_FILE tag can be used to specify the file name of the resulting .chm | ||
1223 | +# file. You can add a path in front of the file if the result should not be | ||
1224 | +# written to the html output directory. | ||
1225 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1226 | + | ||
1227 | +CHM_FILE = | ||
1228 | + | ||
1229 | +# The HHC_LOCATION tag can be used to specify the location (absolute path | ||
1230 | +# including file name) of the HTML help compiler (hhc.exe). If non-empty, | ||
1231 | +# doxygen will try to run the HTML help compiler on the generated index.hhp. | ||
1232 | +# The file has to be specified with full path. | ||
1233 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1234 | + | ||
1235 | +HHC_LOCATION = | ||
1236 | + | ||
1237 | +# The GENERATE_CHI flag controls if a separate .chi index file is generated | ||
1238 | +# (YES) or that it should be included in the master .chm file (NO). | ||
1239 | +# The default value is: NO. | ||
1240 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1241 | + | ||
1242 | +GENERATE_CHI = NO | ||
1243 | + | ||
1244 | +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) | ||
1245 | +# and project file content. | ||
1246 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1247 | + | ||
1248 | +CHM_INDEX_ENCODING = | ||
1249 | + | ||
1250 | +# The BINARY_TOC flag controls whether a binary table of contents is generated | ||
1251 | +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it | ||
1252 | +# enables the Previous and Next buttons. | ||
1253 | +# The default value is: NO. | ||
1254 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1255 | + | ||
1256 | +BINARY_TOC = NO | ||
1257 | + | ||
1258 | +# The TOC_EXPAND flag can be set to YES to add extra items for group members to | ||
1259 | +# the table of contents of the HTML help documentation and to the tree view. | ||
1260 | +# The default value is: NO. | ||
1261 | +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. | ||
1262 | + | ||
1263 | +TOC_EXPAND = NO | ||
1264 | + | ||
1265 | +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and | ||
1266 | +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that | ||
1267 | +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help | ||
1268 | +# (.qch) of the generated HTML documentation. | ||
1269 | +# The default value is: NO. | ||
1270 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1271 | + | ||
1272 | +GENERATE_QHP = NO | ||
1273 | + | ||
1274 | +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify | ||
1275 | +# the file name of the resulting .qch file. The path specified is relative to | ||
1276 | +# the HTML output folder. | ||
1277 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1278 | + | ||
1279 | +QCH_FILE = | ||
1280 | + | ||
1281 | +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help | ||
1282 | +# Project output. For more information please see Qt Help Project / Namespace | ||
1283 | +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). | ||
1284 | +# The default value is: org.doxygen.Project. | ||
1285 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1286 | + | ||
1287 | +QHP_NAMESPACE = org.doxygen.Project | ||
1288 | + | ||
1289 | +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt | ||
1290 | +# Help Project output. For more information please see Qt Help Project / Virtual | ||
1291 | +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- | ||
1292 | +# folders). | ||
1293 | +# The default value is: doc. | ||
1294 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1295 | + | ||
1296 | +QHP_VIRTUAL_FOLDER = doc | ||
1297 | + | ||
1298 | +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom | ||
1299 | +# filter to add. For more information please see Qt Help Project / Custom | ||
1300 | +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- | ||
1301 | +# filters). | ||
1302 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1303 | + | ||
1304 | +QHP_CUST_FILTER_NAME = | ||
1305 | + | ||
1306 | +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the | ||
1307 | +# custom filter to add. For more information please see Qt Help Project / Custom | ||
1308 | +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- | ||
1309 | +# filters). | ||
1310 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1311 | + | ||
1312 | +QHP_CUST_FILTER_ATTRS = | ||
1313 | + | ||
1314 | +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this | ||
1315 | +# project's filter section matches. Qt Help Project / Filter Attributes (see: | ||
1316 | +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). | ||
1317 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1318 | + | ||
1319 | +QHP_SECT_FILTER_ATTRS = | ||
1320 | + | ||
1321 | +# The QHG_LOCATION tag can be used to specify the location of Qt's | ||
1322 | +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the | ||
1323 | +# generated .qhp file. | ||
1324 | +# This tag requires that the tag GENERATE_QHP is set to YES. | ||
1325 | + | ||
1326 | +QHG_LOCATION = | ||
1327 | + | ||
1328 | +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be | ||
1329 | +# generated, together with the HTML files, they form an Eclipse help plugin. To | ||
1330 | +# install this plugin and make it available under the help contents menu in | ||
1331 | +# Eclipse, the contents of the directory containing the HTML and XML files needs | ||
1332 | +# to be copied into the plugins directory of eclipse. The name of the directory | ||
1333 | +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. | ||
1334 | +# After copying Eclipse needs to be restarted before the help appears. | ||
1335 | +# The default value is: NO. | ||
1336 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1337 | + | ||
1338 | +GENERATE_ECLIPSEHELP = NO | ||
1339 | + | ||
1340 | +# A unique identifier for the Eclipse help plugin. When installing the plugin | ||
1341 | +# the directory name containing the HTML and XML files should also have this | ||
1342 | +# name. Each documentation set should have its own identifier. | ||
1343 | +# The default value is: org.doxygen.Project. | ||
1344 | +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. | ||
1345 | + | ||
1346 | +ECLIPSE_DOC_ID = org.doxygen.Project | ||
1347 | + | ||
1348 | +# If you want full control over the layout of the generated HTML pages it might | ||
1349 | +# be necessary to disable the index and replace it with your own. The | ||
1350 | +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top | ||
1351 | +# of each HTML page. A value of NO enables the index and the value YES disables | ||
1352 | +# it. Since the tabs in the index contain the same information as the navigation | ||
1353 | +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. | ||
1354 | +# The default value is: NO. | ||
1355 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1356 | + | ||
1357 | +DISABLE_INDEX = NO | ||
1358 | + | ||
1359 | +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index | ||
1360 | +# structure should be generated to display hierarchical information. If the tag | ||
1361 | +# value is set to YES, a side panel will be generated containing a tree-like | ||
1362 | +# index structure (just like the one that is generated for HTML Help). For this | ||
1363 | +# to work a browser that supports JavaScript, DHTML, CSS and frames is required | ||
1364 | +# (i.e. any modern browser). Windows users are probably better off using the | ||
1365 | +# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can | ||
1366 | +# further fine-tune the look of the index. As an example, the default style | ||
1367 | +# sheet generated by doxygen has an example that shows how to put an image at | ||
1368 | +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has | ||
1369 | +# the same information as the tab index, you could consider setting | ||
1370 | +# DISABLE_INDEX to YES when enabling this option. | ||
1371 | +# The default value is: NO. | ||
1372 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1373 | + | ||
1374 | +GENERATE_TREEVIEW = NO | ||
1375 | + | ||
1376 | +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that | ||
1377 | +# doxygen will group on one line in the generated HTML documentation. | ||
1378 | +# | ||
1379 | +# Note that a value of 0 will completely suppress the enum values from appearing | ||
1380 | +# in the overview section. | ||
1381 | +# Minimum value: 0, maximum value: 20, default value: 4. | ||
1382 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1383 | + | ||
1384 | +ENUM_VALUES_PER_LINE = 4 | ||
1385 | + | ||
1386 | +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used | ||
1387 | +# to set the initial width (in pixels) of the frame in which the tree is shown. | ||
1388 | +# Minimum value: 0, maximum value: 1500, default value: 250. | ||
1389 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1390 | + | ||
1391 | +TREEVIEW_WIDTH = 250 | ||
1392 | + | ||
1393 | +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to | ||
1394 | +# external symbols imported via tag files in a separate window. | ||
1395 | +# The default value is: NO. | ||
1396 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1397 | + | ||
1398 | +EXT_LINKS_IN_WINDOW = NO | ||
1399 | + | ||
1400 | +# Use this tag to change the font size of LaTeX formulas included as images in | ||
1401 | +# the HTML documentation. When you change the font size after a successful | ||
1402 | +# doxygen run you need to manually remove any form_*.png images from the HTML | ||
1403 | +# output directory to force them to be regenerated. | ||
1404 | +# Minimum value: 8, maximum value: 50, default value: 10. | ||
1405 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1406 | + | ||
1407 | +FORMULA_FONTSIZE = 10 | ||
1408 | + | ||
1409 | +# Use the FORMULA_TRANPARENT tag to determine whether or not the images | ||
1410 | +# generated for formulas are transparent PNGs. Transparent PNGs are not | ||
1411 | +# supported properly for IE 6.0, but are supported on all modern browsers. | ||
1412 | +# | ||
1413 | +# Note that when changing this option you need to delete any form_*.png files in | ||
1414 | +# the HTML output directory before the changes have effect. | ||
1415 | +# The default value is: YES. | ||
1416 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1417 | + | ||
1418 | +FORMULA_TRANSPARENT = YES | ||
1419 | + | ||
1420 | +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see | ||
1421 | +# http://www.mathjax.org) which uses client side Javascript for the rendering | ||
1422 | +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX | ||
1423 | +# installed or if you want to formulas look prettier in the HTML output. When | ||
1424 | +# enabled you may also need to install MathJax separately and configure the path | ||
1425 | +# to it using the MATHJAX_RELPATH option. | ||
1426 | +# The default value is: NO. | ||
1427 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1428 | + | ||
1429 | +USE_MATHJAX = NO | ||
1430 | + | ||
1431 | +# When MathJax is enabled you can set the default output format to be used for | ||
1432 | +# the MathJax output. See the MathJax site (see: | ||
1433 | +# http://docs.mathjax.org/en/latest/output.html) for more details. | ||
1434 | +# Possible values are: HTML-CSS (which is slower, but has the best | ||
1435 | +# compatibility), NativeMML (i.e. MathML) and SVG. | ||
1436 | +# The default value is: HTML-CSS. | ||
1437 | +# This tag requires that the tag USE_MATHJAX is set to YES. | ||
1438 | + | ||
1439 | +MATHJAX_FORMAT = HTML-CSS | ||
1440 | + | ||
1441 | +# When MathJax is enabled you need to specify the location relative to the HTML | ||
1442 | +# output directory using the MATHJAX_RELPATH option. The destination directory | ||
1443 | +# should contain the MathJax.js script. For instance, if the mathjax directory | ||
1444 | +# is located at the same level as the HTML output directory, then | ||
1445 | +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax | ||
1446 | +# Content Delivery Network so you can quickly see the result without installing | ||
1447 | +# MathJax. However, it is strongly recommended to install a local copy of | ||
1448 | +# MathJax from http://www.mathjax.org before deployment. | ||
1449 | +# The default value is: http://cdn.mathjax.org/mathjax/latest. | ||
1450 | +# This tag requires that the tag USE_MATHJAX is set to YES. | ||
1451 | + | ||
1452 | +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest | ||
1453 | + | ||
1454 | +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax | ||
1455 | +# extension names that should be enabled during MathJax rendering. For example | ||
1456 | +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols | ||
1457 | +# This tag requires that the tag USE_MATHJAX is set to YES. | ||
1458 | + | ||
1459 | +MATHJAX_EXTENSIONS = | ||
1460 | + | ||
1461 | +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces | ||
1462 | +# of code that will be used on startup of the MathJax code. See the MathJax site | ||
1463 | +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an | ||
1464 | +# example see the documentation. | ||
1465 | +# This tag requires that the tag USE_MATHJAX is set to YES. | ||
1466 | + | ||
1467 | +MATHJAX_CODEFILE = | ||
1468 | + | ||
1469 | +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for | ||
1470 | +# the HTML output. The underlying search engine uses javascript and DHTML and | ||
1471 | +# should work on any modern browser. Note that when using HTML help | ||
1472 | +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) | ||
1473 | +# there is already a search function so this one should typically be disabled. | ||
1474 | +# For large projects the javascript based search engine can be slow, then | ||
1475 | +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to | ||
1476 | +# search using the keyboard; to jump to the search box use <access key> + S | ||
1477 | +# (what the <access key> is depends on the OS and browser, but it is typically | ||
1478 | +# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down | ||
1479 | +# key> to jump into the search results window, the results can be navigated | ||
1480 | +# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel | ||
1481 | +# the search. The filter options can be selected when the cursor is inside the | ||
1482 | +# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys> | ||
1483 | +# to select a filter and <Enter> or <escape> to activate or cancel the filter | ||
1484 | +# option. | ||
1485 | +# The default value is: YES. | ||
1486 | +# This tag requires that the tag GENERATE_HTML is set to YES. | ||
1487 | + | ||
1488 | +SEARCHENGINE = YES | ||
1489 | + | ||
1490 | +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be | ||
1491 | +# implemented using a web server instead of a web client using Javascript. There | ||
1492 | +# are two flavors of web server based searching depending on the EXTERNAL_SEARCH | ||
1493 | +# setting. When disabled, doxygen will generate a PHP script for searching and | ||
1494 | +# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing | ||
1495 | +# and searching needs to be provided by external tools. See the section | ||
1496 | +# "External Indexing and Searching" for details. | ||
1497 | +# The default value is: NO. | ||
1498 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1499 | + | ||
1500 | +SERVER_BASED_SEARCH = NO | ||
1501 | + | ||
1502 | +# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP | ||
1503 | +# script for searching. Instead the search results are written to an XML file | ||
1504 | +# which needs to be processed by an external indexer. Doxygen will invoke an | ||
1505 | +# external search engine pointed to by the SEARCHENGINE_URL option to obtain the | ||
1506 | +# search results. | ||
1507 | +# | ||
1508 | +# Doxygen ships with an example indexer (doxyindexer) and search engine | ||
1509 | +# (doxysearch.cgi) which are based on the open source search engine library | ||
1510 | +# Xapian (see: http://xapian.org/). | ||
1511 | +# | ||
1512 | +# See the section "External Indexing and Searching" for details. | ||
1513 | +# The default value is: NO. | ||
1514 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1515 | + | ||
1516 | +EXTERNAL_SEARCH = NO | ||
1517 | + | ||
1518 | +# The SEARCHENGINE_URL should point to a search engine hosted by a web server | ||
1519 | +# which will return the search results when EXTERNAL_SEARCH is enabled. | ||
1520 | +# | ||
1521 | +# Doxygen ships with an example indexer (doxyindexer) and search engine | ||
1522 | +# (doxysearch.cgi) which are based on the open source search engine library | ||
1523 | +# Xapian (see: http://xapian.org/). See the section "External Indexing and | ||
1524 | +# Searching" for details. | ||
1525 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1526 | + | ||
1527 | +SEARCHENGINE_URL = | ||
1528 | + | ||
1529 | +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed | ||
1530 | +# search data is written to a file for indexing by an external tool. With the | ||
1531 | +# SEARCHDATA_FILE tag the name of this file can be specified. | ||
1532 | +# The default file is: searchdata.xml. | ||
1533 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1534 | + | ||
1535 | +SEARCHDATA_FILE = searchdata.xml | ||
1536 | + | ||
1537 | +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the | ||
1538 | +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is | ||
1539 | +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple | ||
1540 | +# projects and redirect the results back to the right project. | ||
1541 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1542 | + | ||
1543 | +EXTERNAL_SEARCH_ID = | ||
1544 | + | ||
1545 | +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen | ||
1546 | +# projects other than the one defined by this configuration file, but that are | ||
1547 | +# all added to the same external search index. Each project needs to have a | ||
1548 | +# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of | ||
1549 | +# to a relative location where the documentation can be found. The format is: | ||
1550 | +# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ... | ||
1551 | +# This tag requires that the tag SEARCHENGINE is set to YES. | ||
1552 | + | ||
1553 | +EXTRA_SEARCH_MAPPINGS = | ||
1554 | + | ||
1555 | +#--------------------------------------------------------------------------- | ||
1556 | +# Configuration options related to the LaTeX output | ||
1557 | +#--------------------------------------------------------------------------- | ||
1558 | + | ||
1559 | +# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output. | ||
1560 | +# The default value is: YES. | ||
1561 | + | ||
1562 | +GENERATE_LATEX = NO | ||
1563 | + | ||
1564 | +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a | ||
1565 | +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of | ||
1566 | +# it. | ||
1567 | +# The default directory is: latex. | ||
1568 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1569 | + | ||
1570 | +LATEX_OUTPUT = latex | ||
1571 | + | ||
1572 | +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be | ||
1573 | +# invoked. | ||
1574 | +# | ||
1575 | +# Note that when enabling USE_PDFLATEX this option is only used for generating | ||
1576 | +# bitmaps for formulas in the HTML output, but not in the Makefile that is | ||
1577 | +# written to the output directory. | ||
1578 | +# The default file is: latex. | ||
1579 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1580 | + | ||
1581 | +LATEX_CMD_NAME = latex | ||
1582 | + | ||
1583 | +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate | ||
1584 | +# index for LaTeX. | ||
1585 | +# The default file is: makeindex. | ||
1586 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1587 | + | ||
1588 | +MAKEINDEX_CMD_NAME = makeindex | ||
1589 | + | ||
1590 | +# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX | ||
1591 | +# documents. This may be useful for small projects and may help to save some | ||
1592 | +# trees in general. | ||
1593 | +# The default value is: NO. | ||
1594 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1595 | + | ||
1596 | +COMPACT_LATEX = NO | ||
1597 | + | ||
1598 | +# The PAPER_TYPE tag can be used to set the paper type that is used by the | ||
1599 | +# printer. | ||
1600 | +# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x | ||
1601 | +# 14 inches) and executive (7.25 x 10.5 inches). | ||
1602 | +# The default value is: a4. | ||
1603 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1604 | + | ||
1605 | +PAPER_TYPE = a4 | ||
1606 | + | ||
1607 | +# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names | ||
1608 | +# that should be included in the LaTeX output. To get the times font for | ||
1609 | +# instance you can specify | ||
1610 | +# EXTRA_PACKAGES=times | ||
1611 | +# If left blank no extra packages will be included. | ||
1612 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1613 | + | ||
1614 | +EXTRA_PACKAGES = | ||
1615 | + | ||
1616 | +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the | ||
1617 | +# generated LaTeX document. The header should contain everything until the first | ||
1618 | +# chapter. If it is left blank doxygen will generate a standard header. See | ||
1619 | +# section "Doxygen usage" for information on how to let doxygen write the | ||
1620 | +# default header to a separate file. | ||
1621 | +# | ||
1622 | +# Note: Only use a user-defined header if you know what you are doing! The | ||
1623 | +# following commands have a special meaning inside the header: $title, | ||
1624 | +# $datetime, $date, $doxygenversion, $projectname, $projectnumber, | ||
1625 | +# $projectbrief, $projectlogo. Doxygen will replace $title with the empty | ||
1626 | +# string, for the replacement values of the other commands the user is referred | ||
1627 | +# to HTML_HEADER. | ||
1628 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1629 | + | ||
1630 | +LATEX_HEADER = | ||
1631 | + | ||
1632 | +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the | ||
1633 | +# generated LaTeX document. The footer should contain everything after the last | ||
1634 | +# chapter. If it is left blank doxygen will generate a standard footer. See | ||
1635 | +# LATEX_HEADER for more information on how to generate a default footer and what | ||
1636 | +# special commands can be used inside the footer. | ||
1637 | +# | ||
1638 | +# Note: Only use a user-defined footer if you know what you are doing! | ||
1639 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1640 | + | ||
1641 | +LATEX_FOOTER = | ||
1642 | + | ||
1643 | +# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or | ||
1644 | +# other source files which should be copied to the LATEX_OUTPUT output | ||
1645 | +# directory. Note that the files will be copied as-is; there are no commands or | ||
1646 | +# markers available. | ||
1647 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1648 | + | ||
1649 | +LATEX_EXTRA_FILES = | ||
1650 | + | ||
1651 | +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is | ||
1652 | +# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will | ||
1653 | +# contain links (just like the HTML output) instead of page references. This | ||
1654 | +# makes the output suitable for online browsing using a PDF viewer. | ||
1655 | +# The default value is: YES. | ||
1656 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1657 | + | ||
1658 | +PDF_HYPERLINKS = YES | ||
1659 | + | ||
1660 | +# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate | ||
1661 | +# the PDF file directly from the LaTeX files. Set this option to YES, to get a | ||
1662 | +# higher quality PDF documentation. | ||
1663 | +# The default value is: YES. | ||
1664 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1665 | + | ||
1666 | +USE_PDFLATEX = YES | ||
1667 | + | ||
1668 | +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode | ||
1669 | +# command to the generated LaTeX files. This will instruct LaTeX to keep running | ||
1670 | +# if errors occur, instead of asking the user for help. This option is also used | ||
1671 | +# when generating formulas in HTML. | ||
1672 | +# The default value is: NO. | ||
1673 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1674 | + | ||
1675 | +LATEX_BATCHMODE = NO | ||
1676 | + | ||
1677 | +# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the | ||
1678 | +# index chapters (such as File Index, Compound Index, etc.) in the output. | ||
1679 | +# The default value is: NO. | ||
1680 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1681 | + | ||
1682 | +LATEX_HIDE_INDICES = NO | ||
1683 | + | ||
1684 | +# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source | ||
1685 | +# code with syntax highlighting in the LaTeX output. | ||
1686 | +# | ||
1687 | +# Note that which sources are shown also depends on other settings such as | ||
1688 | +# SOURCE_BROWSER. | ||
1689 | +# The default value is: NO. | ||
1690 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1691 | + | ||
1692 | +LATEX_SOURCE_CODE = NO | ||
1693 | + | ||
1694 | +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the | ||
1695 | +# bibliography, e.g. plainnat, or ieeetr. See | ||
1696 | +# http://en.wikipedia.org/wiki/BibTeX and \cite for more info. | ||
1697 | +# The default value is: plain. | ||
1698 | +# This tag requires that the tag GENERATE_LATEX is set to YES. | ||
1699 | + | ||
1700 | +LATEX_BIB_STYLE = plain | ||
1701 | + | ||
1702 | +#--------------------------------------------------------------------------- | ||
1703 | +# Configuration options related to the RTF output | ||
1704 | +#--------------------------------------------------------------------------- | ||
1705 | + | ||
1706 | +# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The | ||
1707 | +# RTF output is optimized for Word 97 and may not look too pretty with other RTF | ||
1708 | +# readers/editors. | ||
1709 | +# The default value is: NO. | ||
1710 | + | ||
1711 | +GENERATE_RTF = NO | ||
1712 | + | ||
1713 | +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a | ||
1714 | +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of | ||
1715 | +# it. | ||
1716 | +# The default directory is: rtf. | ||
1717 | +# This tag requires that the tag GENERATE_RTF is set to YES. | ||
1718 | + | ||
1719 | +RTF_OUTPUT = rtf | ||
1720 | + | ||
1721 | +# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF | ||
1722 | +# documents. This may be useful for small projects and may help to save some | ||
1723 | +# trees in general. | ||
1724 | +# The default value is: NO. | ||
1725 | +# This tag requires that the tag GENERATE_RTF is set to YES. | ||
1726 | + | ||
1727 | +COMPACT_RTF = NO | ||
1728 | + | ||
1729 | +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will | ||
1730 | +# contain hyperlink fields. The RTF file will contain links (just like the HTML | ||
1731 | +# output) instead of page references. This makes the output suitable for online | ||
1732 | +# browsing using Word or some other Word compatible readers that support those | ||
1733 | +# fields. | ||
1734 | +# | ||
1735 | +# Note: WordPad (write) and others do not support links. | ||
1736 | +# The default value is: NO. | ||
1737 | +# This tag requires that the tag GENERATE_RTF is set to YES. | ||
1738 | + | ||
1739 | +RTF_HYPERLINKS = NO | ||
1740 | + | ||
1741 | +# Load stylesheet definitions from file. Syntax is similar to doxygen's config | ||
1742 | +# file, i.e. a series of assignments. You only have to provide replacements, | ||
1743 | +# missing definitions are set to their default value. | ||
1744 | +# | ||
1745 | +# See also section "Doxygen usage" for information on how to generate the | ||
1746 | +# default style sheet that doxygen normally uses. | ||
1747 | +# This tag requires that the tag GENERATE_RTF is set to YES. | ||
1748 | + | ||
1749 | +RTF_STYLESHEET_FILE = | ||
1750 | + | ||
1751 | +# Set optional variables used in the generation of an RTF document. Syntax is | ||
1752 | +# similar to doxygen's config file. A template extensions file can be generated | ||
1753 | +# using doxygen -e rtf extensionFile. | ||
1754 | +# This tag requires that the tag GENERATE_RTF is set to YES. | ||
1755 | + | ||
1756 | +RTF_EXTENSIONS_FILE = | ||
1757 | + | ||
1758 | +#--------------------------------------------------------------------------- | ||
1759 | +# Configuration options related to the man page output | ||
1760 | +#--------------------------------------------------------------------------- | ||
1761 | + | ||
1762 | +# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for | ||
1763 | +# classes and files. | ||
1764 | +# The default value is: NO. | ||
1765 | + | ||
1766 | +GENERATE_MAN = NO | ||
1767 | + | ||
1768 | +# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a | ||
1769 | +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of | ||
1770 | +# it. A directory man3 will be created inside the directory specified by | ||
1771 | +# MAN_OUTPUT. | ||
1772 | +# The default directory is: man. | ||
1773 | +# This tag requires that the tag GENERATE_MAN is set to YES. | ||
1774 | + | ||
1775 | +MAN_OUTPUT = man | ||
1776 | + | ||
1777 | +# The MAN_EXTENSION tag determines the extension that is added to the generated | ||
1778 | +# man pages. In case the manual section does not start with a number, the number | ||
1779 | +# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is | ||
1780 | +# optional. | ||
1781 | +# The default value is: .3. | ||
1782 | +# This tag requires that the tag GENERATE_MAN is set to YES. | ||
1783 | + | ||
1784 | +MAN_EXTENSION = .3 | ||
1785 | + | ||
1786 | +# The MAN_SUBDIR tag determines the name of the directory created within | ||
1787 | +# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by | ||
1788 | +# MAN_EXTENSION with the initial . removed. | ||
1789 | +# This tag requires that the tag GENERATE_MAN is set to YES. | ||
1790 | + | ||
1791 | +MAN_SUBDIR = | ||
1792 | + | ||
1793 | +# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it | ||
1794 | +# will generate one additional man file for each entity documented in the real | ||
1795 | +# man page(s). These additional files only source the real man page, but without | ||
1796 | +# them the man command would be unable to find the correct page. | ||
1797 | +# The default value is: NO. | ||
1798 | +# This tag requires that the tag GENERATE_MAN is set to YES. | ||
1799 | + | ||
1800 | +MAN_LINKS = NO | ||
1801 | + | ||
1802 | +#--------------------------------------------------------------------------- | ||
1803 | +# Configuration options related to the XML output | ||
1804 | +#--------------------------------------------------------------------------- | ||
1805 | + | ||
1806 | +# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that | ||
1807 | +# captures the structure of the code including all documentation. | ||
1808 | +# The default value is: NO. | ||
1809 | + | ||
1810 | +GENERATE_XML = NO | ||
1811 | + | ||
1812 | +# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a | ||
1813 | +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of | ||
1814 | +# it. | ||
1815 | +# The default directory is: xml. | ||
1816 | +# This tag requires that the tag GENERATE_XML is set to YES. | ||
1817 | + | ||
1818 | +XML_OUTPUT = xml | ||
1819 | + | ||
1820 | +# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program | ||
1821 | +# listings (including syntax highlighting and cross-referencing information) to | ||
1822 | +# the XML output. Note that enabling this will significantly increase the size | ||
1823 | +# of the XML output. | ||
1824 | +# The default value is: YES. | ||
1825 | +# This tag requires that the tag GENERATE_XML is set to YES. | ||
1826 | + | ||
1827 | +XML_PROGRAMLISTING = YES | ||
1828 | + | ||
1829 | +#--------------------------------------------------------------------------- | ||
1830 | +# Configuration options related to the DOCBOOK output | ||
1831 | +#--------------------------------------------------------------------------- | ||
1832 | + | ||
1833 | +# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files | ||
1834 | +# that can be used to generate PDF. | ||
1835 | +# The default value is: NO. | ||
1836 | + | ||
1837 | +GENERATE_DOCBOOK = NO | ||
1838 | + | ||
1839 | +# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put. | ||
1840 | +# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in | ||
1841 | +# front of it. | ||
1842 | +# The default directory is: docbook. | ||
1843 | +# This tag requires that the tag GENERATE_DOCBOOK is set to YES. | ||
1844 | + | ||
1845 | +DOCBOOK_OUTPUT = docbook | ||
1846 | + | ||
1847 | +# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the | ||
1848 | +# program listings (including syntax highlighting and cross-referencing | ||
1849 | +# information) to the DOCBOOK output. Note that enabling this will significantly | ||
1850 | +# increase the size of the DOCBOOK output. | ||
1851 | +# The default value is: NO. | ||
1852 | +# This tag requires that the tag GENERATE_DOCBOOK is set to YES. | ||
1853 | + | ||
1854 | +DOCBOOK_PROGRAMLISTING = NO | ||
1855 | + | ||
1856 | +#--------------------------------------------------------------------------- | ||
1857 | +# Configuration options for the AutoGen Definitions output | ||
1858 | +#--------------------------------------------------------------------------- | ||
1859 | + | ||
1860 | +# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an | ||
1861 | +# AutoGen Definitions (see http://autogen.sf.net) file that captures the | ||
1862 | +# structure of the code including all documentation. Note that this feature is | ||
1863 | +# still experimental and incomplete at the moment. | ||
1864 | +# The default value is: NO. | ||
1865 | + | ||
1866 | +GENERATE_AUTOGEN_DEF = NO | ||
1867 | + | ||
1868 | +#--------------------------------------------------------------------------- | ||
1869 | +# Configuration options related to the Perl module output | ||
1870 | +#--------------------------------------------------------------------------- | ||
1871 | + | ||
1872 | +# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module | ||
1873 | +# file that captures the structure of the code including all documentation. | ||
1874 | +# | ||
1875 | +# Note that this feature is still experimental and incomplete at the moment. | ||
1876 | +# The default value is: NO. | ||
1877 | + | ||
1878 | +GENERATE_PERLMOD = NO | ||
1879 | + | ||
1880 | +# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary | ||
1881 | +# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI | ||
1882 | +# output from the Perl module output. | ||
1883 | +# The default value is: NO. | ||
1884 | +# This tag requires that the tag GENERATE_PERLMOD is set to YES. | ||
1885 | + | ||
1886 | +PERLMOD_LATEX = NO | ||
1887 | + | ||
1888 | +# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely | ||
1889 | +# formatted so it can be parsed by a human reader. This is useful if you want to | ||
1890 | +# understand what is going on. On the other hand, if this tag is set to NO, the | ||
1891 | +# size of the Perl module output will be much smaller and Perl will parse it | ||
1892 | +# just the same. | ||
1893 | +# The default value is: YES. | ||
1894 | +# This tag requires that the tag GENERATE_PERLMOD is set to YES. | ||
1895 | + | ||
1896 | +PERLMOD_PRETTY = YES | ||
1897 | + | ||
1898 | +# The names of the make variables in the generated doxyrules.make file are | ||
1899 | +# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful | ||
1900 | +# so different doxyrules.make files included by the same Makefile don't | ||
1901 | +# overwrite each other's variables. | ||
1902 | +# This tag requires that the tag GENERATE_PERLMOD is set to YES. | ||
1903 | + | ||
1904 | +PERLMOD_MAKEVAR_PREFIX = | ||
1905 | + | ||
1906 | +#--------------------------------------------------------------------------- | ||
1907 | +# Configuration options related to the preprocessor | ||
1908 | +#--------------------------------------------------------------------------- | ||
1909 | + | ||
1910 | +# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all | ||
1911 | +# C-preprocessor directives found in the sources and include files. | ||
1912 | +# The default value is: YES. | ||
1913 | + | ||
1914 | +ENABLE_PREPROCESSING = YES | ||
1915 | + | ||
1916 | +# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names | ||
1917 | +# in the source code. If set to NO, only conditional compilation will be | ||
1918 | +# performed. Macro expansion can be done in a controlled way by setting | ||
1919 | +# EXPAND_ONLY_PREDEF to YES. | ||
1920 | +# The default value is: NO. | ||
1921 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1922 | + | ||
1923 | +MACRO_EXPANSION = NO | ||
1924 | + | ||
1925 | +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then | ||
1926 | +# the macro expansion is limited to the macros specified with the PREDEFINED and | ||
1927 | +# EXPAND_AS_DEFINED tags. | ||
1928 | +# The default value is: NO. | ||
1929 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1930 | + | ||
1931 | +EXPAND_ONLY_PREDEF = NO | ||
1932 | + | ||
1933 | +# If the SEARCH_INCLUDES tag is set to YES, the include files in the | ||
1934 | +# INCLUDE_PATH will be searched if a #include is found. | ||
1935 | +# The default value is: YES. | ||
1936 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1937 | + | ||
1938 | +SEARCH_INCLUDES = YES | ||
1939 | + | ||
1940 | +# The INCLUDE_PATH tag can be used to specify one or more directories that | ||
1941 | +# contain include files that are not input files but should be processed by the | ||
1942 | +# preprocessor. | ||
1943 | +# This tag requires that the tag SEARCH_INCLUDES is set to YES. | ||
1944 | + | ||
1945 | +INCLUDE_PATH = | ||
1946 | + | ||
1947 | +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard | ||
1948 | +# patterns (like *.h and *.hpp) to filter out the header-files in the | ||
1949 | +# directories. If left blank, the patterns specified with FILE_PATTERNS will be | ||
1950 | +# used. | ||
1951 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1952 | + | ||
1953 | +INCLUDE_FILE_PATTERNS = | ||
1954 | + | ||
1955 | +# The PREDEFINED tag can be used to specify one or more macro names that are | ||
1956 | +# defined before the preprocessor is started (similar to the -D option of e.g. | ||
1957 | +# gcc). The argument of the tag is a list of macros of the form: name or | ||
1958 | +# name=definition (no spaces). If the definition and the "=" are omitted, "=1" | ||
1959 | +# is assumed. To prevent a macro definition from being undefined via #undef or | ||
1960 | +# recursively expanded use the := operator instead of the = operator. | ||
1961 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1962 | + | ||
1963 | +PREDEFINED = | ||
1964 | + | ||
1965 | +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this | ||
1966 | +# tag can be used to specify a list of macro names that should be expanded. The | ||
1967 | +# macro definition that is found in the sources will be used. Use the PREDEFINED | ||
1968 | +# tag if you want to use a different macro definition that overrules the | ||
1969 | +# definition found in the source code. | ||
1970 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1971 | + | ||
1972 | +EXPAND_AS_DEFINED = | ||
1973 | + | ||
1974 | +# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will | ||
1975 | +# remove all references to function-like macros that are alone on a line, have | ||
1976 | +# an all uppercase name, and do not end with a semicolon. Such function macros | ||
1977 | +# are typically used for boiler-plate code, and will confuse the parser if not | ||
1978 | +# removed. | ||
1979 | +# The default value is: YES. | ||
1980 | +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. | ||
1981 | + | ||
1982 | +SKIP_FUNCTION_MACROS = YES | ||
1983 | + | ||
1984 | +#--------------------------------------------------------------------------- | ||
1985 | +# Configuration options related to external references | ||
1986 | +#--------------------------------------------------------------------------- | ||
1987 | + | ||
1988 | +# The TAGFILES tag can be used to specify one or more tag files. For each tag | ||
1989 | +# file the location of the external documentation should be added. The format of | ||
1990 | +# a tag file without this location is as follows: | ||
1991 | +# TAGFILES = file1 file2 ... | ||
1992 | +# Adding location for the tag files is done as follows: | ||
1993 | +# TAGFILES = file1=loc1 "file2 = loc2" ... | ||
1994 | +# where loc1 and loc2 can be relative or absolute paths or URLs. See the | ||
1995 | +# section "Linking to external documentation" for more information about the use | ||
1996 | +# of tag files. | ||
1997 | +# Note: Each tag file must have a unique name (where the name does NOT include | ||
1998 | +# the path). If a tag file is not located in the directory in which doxygen is | ||
1999 | +# run, you must also specify the path to the tagfile here. | ||
2000 | + | ||
2001 | +TAGFILES = | ||
2002 | + | ||
2003 | +# When a file name is specified after GENERATE_TAGFILE, doxygen will create a | ||
2004 | +# tag file that is based on the input files it reads. See section "Linking to | ||
2005 | +# external documentation" for more information about the usage of tag files. | ||
2006 | + | ||
2007 | +GENERATE_TAGFILE = | ||
2008 | + | ||
2009 | +# If the ALLEXTERNALS tag is set to YES, all external class will be listed in | ||
2010 | +# the class index. If set to NO, only the inherited external classes will be | ||
2011 | +# listed. | ||
2012 | +# The default value is: NO. | ||
2013 | + | ||
2014 | +ALLEXTERNALS = NO | ||
2015 | + | ||
2016 | +# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed | ||
2017 | +# in the modules index. If set to NO, only the current project's groups will be | ||
2018 | +# listed. | ||
2019 | +# The default value is: YES. | ||
2020 | + | ||
2021 | +EXTERNAL_GROUPS = YES | ||
2022 | + | ||
2023 | +# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in | ||
2024 | +# the related pages index. If set to NO, only the current project's pages will | ||
2025 | +# be listed. | ||
2026 | +# The default value is: YES. | ||
2027 | + | ||
2028 | +EXTERNAL_PAGES = YES | ||
2029 | + | ||
2030 | +# The PERL_PATH should be the absolute path and name of the perl script | ||
2031 | +# interpreter (i.e. the result of 'which perl'). | ||
2032 | +# The default file (with absolute path) is: /usr/bin/perl. | ||
2033 | + | ||
2034 | +PERL_PATH = /usr/bin/perl | ||
2035 | + | ||
2036 | +#--------------------------------------------------------------------------- | ||
2037 | +# Configuration options related to the dot tool | ||
2038 | +#--------------------------------------------------------------------------- | ||
2039 | + | ||
2040 | +# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram | ||
2041 | +# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to | ||
2042 | +# NO turns the diagrams off. Note that this option also works with HAVE_DOT | ||
2043 | +# disabled, but it is recommended to install and use dot, since it yields more | ||
2044 | +# powerful graphs. | ||
2045 | +# The default value is: YES. | ||
2046 | + | ||
2047 | +CLASS_DIAGRAMS = YES | ||
2048 | + | ||
2049 | +# You can define message sequence charts within doxygen comments using the \msc | ||
2050 | +# command. Doxygen will then run the mscgen tool (see: | ||
2051 | +# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the | ||
2052 | +# documentation. The MSCGEN_PATH tag allows you to specify the directory where | ||
2053 | +# the mscgen tool resides. If left empty the tool is assumed to be found in the | ||
2054 | +# default search path. | ||
2055 | + | ||
2056 | +MSCGEN_PATH = | ||
2057 | + | ||
2058 | +# You can include diagrams made with dia in doxygen documentation. Doxygen will | ||
2059 | +# then run dia to produce the diagram and insert it in the documentation. The | ||
2060 | +# DIA_PATH tag allows you to specify the directory where the dia binary resides. | ||
2061 | +# If left empty dia is assumed to be found in the default search path. | ||
2062 | + | ||
2063 | +DIA_PATH = | ||
2064 | + | ||
2065 | +# If set to YES the inheritance and collaboration graphs will hide inheritance | ||
2066 | +# and usage relations if the target is undocumented or is not a class. | ||
2067 | +# The default value is: YES. | ||
2068 | + | ||
2069 | +HIDE_UNDOC_RELATIONS = YES | ||
2070 | + | ||
2071 | +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is | ||
2072 | +# available from the path. This tool is part of Graphviz (see: | ||
2073 | +# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent | ||
2074 | +# Bell Labs. The other options in this section have no effect if this option is | ||
2075 | +# set to NO | ||
2076 | +# The default value is: NO. | ||
2077 | + | ||
2078 | +HAVE_DOT = NO | ||
2079 | + | ||
2080 | +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed | ||
2081 | +# to run in parallel. When set to 0 doxygen will base this on the number of | ||
2082 | +# processors available in the system. You can set it explicitly to a value | ||
2083 | +# larger than 0 to get control over the balance between CPU load and processing | ||
2084 | +# speed. | ||
2085 | +# Minimum value: 0, maximum value: 32, default value: 0. | ||
2086 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2087 | + | ||
2088 | +DOT_NUM_THREADS = 0 | ||
2089 | + | ||
2090 | +# When you want a differently looking font in the dot files that doxygen | ||
2091 | +# generates you can specify the font name using DOT_FONTNAME. You need to make | ||
2092 | +# sure dot is able to find the font, which can be done by putting it in a | ||
2093 | +# standard location or by setting the DOTFONTPATH environment variable or by | ||
2094 | +# setting DOT_FONTPATH to the directory containing the font. | ||
2095 | +# The default value is: Helvetica. | ||
2096 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2097 | + | ||
2098 | +DOT_FONTNAME = Helvetica | ||
2099 | + | ||
2100 | +# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of | ||
2101 | +# dot graphs. | ||
2102 | +# Minimum value: 4, maximum value: 24, default value: 10. | ||
2103 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2104 | + | ||
2105 | +DOT_FONTSIZE = 10 | ||
2106 | + | ||
2107 | +# By default doxygen will tell dot to use the default font as specified with | ||
2108 | +# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set | ||
2109 | +# the path where dot can find it using this tag. | ||
2110 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2111 | + | ||
2112 | +DOT_FONTPATH = | ||
2113 | + | ||
2114 | +# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for | ||
2115 | +# each documented class showing the direct and indirect inheritance relations. | ||
2116 | +# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO. | ||
2117 | +# The default value is: YES. | ||
2118 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2119 | + | ||
2120 | +CLASS_GRAPH = YES | ||
2121 | + | ||
2122 | +# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a | ||
2123 | +# graph for each documented class showing the direct and indirect implementation | ||
2124 | +# dependencies (inheritance, containment, and class references variables) of the | ||
2125 | +# class with other documented classes. | ||
2126 | +# The default value is: YES. | ||
2127 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2128 | + | ||
2129 | +COLLABORATION_GRAPH = YES | ||
2130 | + | ||
2131 | +# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for | ||
2132 | +# groups, showing the direct groups dependencies. | ||
2133 | +# The default value is: YES. | ||
2134 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2135 | + | ||
2136 | +GROUP_GRAPHS = YES | ||
2137 | + | ||
2138 | +# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and | ||
2139 | +# collaboration diagrams in a style similar to the OMG's Unified Modeling | ||
2140 | +# Language. | ||
2141 | +# The default value is: NO. | ||
2142 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2143 | + | ||
2144 | +UML_LOOK = YES | ||
2145 | + | ||
2146 | +# If the UML_LOOK tag is enabled, the fields and methods are shown inside the | ||
2147 | +# class node. If there are many fields or methods and many nodes the graph may | ||
2148 | +# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the | ||
2149 | +# number of items for each type to make the size more manageable. Set this to 0 | ||
2150 | +# for no limit. Note that the threshold may be exceeded by 50% before the limit | ||
2151 | +# is enforced. So when you set the threshold to 10, up to 15 fields may appear, | ||
2152 | +# but if the number exceeds 15, the total amount of fields shown is limited to | ||
2153 | +# 10. | ||
2154 | +# Minimum value: 0, maximum value: 100, default value: 10. | ||
2155 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2156 | + | ||
2157 | +UML_LIMIT_NUM_FIELDS = 10 | ||
2158 | + | ||
2159 | +# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and | ||
2160 | +# collaboration graphs will show the relations between templates and their | ||
2161 | +# instances. | ||
2162 | +# The default value is: NO. | ||
2163 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2164 | + | ||
2165 | +TEMPLATE_RELATIONS = NO | ||
2166 | + | ||
2167 | +# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to | ||
2168 | +# YES then doxygen will generate a graph for each documented file showing the | ||
2169 | +# direct and indirect include dependencies of the file with other documented | ||
2170 | +# files. | ||
2171 | +# The default value is: YES. | ||
2172 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2173 | + | ||
2174 | +INCLUDE_GRAPH = YES | ||
2175 | + | ||
2176 | +# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are | ||
2177 | +# set to YES then doxygen will generate a graph for each documented file showing | ||
2178 | +# the direct and indirect include dependencies of the file with other documented | ||
2179 | +# files. | ||
2180 | +# The default value is: YES. | ||
2181 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2182 | + | ||
2183 | +INCLUDED_BY_GRAPH = YES | ||
2184 | + | ||
2185 | +# If the CALL_GRAPH tag is set to YES then doxygen will generate a call | ||
2186 | +# dependency graph for every global function or class method. | ||
2187 | +# | ||
2188 | +# Note that enabling this option will significantly increase the time of a run. | ||
2189 | +# So in most cases it will be better to enable call graphs for selected | ||
2190 | +# functions only using the \callgraph command. | ||
2191 | +# The default value is: NO. | ||
2192 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2193 | + | ||
2194 | +CALL_GRAPH = NO | ||
2195 | + | ||
2196 | +# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller | ||
2197 | +# dependency graph for every global function or class method. | ||
2198 | +# | ||
2199 | +# Note that enabling this option will significantly increase the time of a run. | ||
2200 | +# So in most cases it will be better to enable caller graphs for selected | ||
2201 | +# functions only using the \callergraph command. | ||
2202 | +# The default value is: NO. | ||
2203 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2204 | + | ||
2205 | +CALLER_GRAPH = NO | ||
2206 | + | ||
2207 | +# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical | ||
2208 | +# hierarchy of all classes instead of a textual one. | ||
2209 | +# The default value is: YES. | ||
2210 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2211 | + | ||
2212 | +GRAPHICAL_HIERARCHY = YES | ||
2213 | + | ||
2214 | +# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the | ||
2215 | +# dependencies a directory has on other directories in a graphical way. The | ||
2216 | +# dependency relations are determined by the #include relations between the | ||
2217 | +# files in the directories. | ||
2218 | +# The default value is: YES. | ||
2219 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2220 | + | ||
2221 | +DIRECTORY_GRAPH = YES | ||
2222 | + | ||
2223 | +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images | ||
2224 | +# generated by dot. | ||
2225 | +# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order | ||
2226 | +# to make the SVG files visible in IE 9+ (other browsers do not have this | ||
2227 | +# requirement). | ||
2228 | +# Possible values are: png, jpg, gif and svg. | ||
2229 | +# The default value is: png. | ||
2230 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2231 | + | ||
2232 | +DOT_IMAGE_FORMAT = png | ||
2233 | + | ||
2234 | +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to | ||
2235 | +# enable generation of interactive SVG images that allow zooming and panning. | ||
2236 | +# | ||
2237 | +# Note that this requires a modern browser other than Internet Explorer. Tested | ||
2238 | +# and working are Firefox, Chrome, Safari, and Opera. | ||
2239 | +# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make | ||
2240 | +# the SVG files visible. Older versions of IE do not have SVG support. | ||
2241 | +# The default value is: NO. | ||
2242 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2243 | + | ||
2244 | +INTERACTIVE_SVG = NO | ||
2245 | + | ||
2246 | +# The DOT_PATH tag can be used to specify the path where the dot tool can be | ||
2247 | +# found. If left blank, it is assumed the dot tool can be found in the path. | ||
2248 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2249 | + | ||
2250 | +DOT_PATH = | ||
2251 | + | ||
2252 | +# The DOTFILE_DIRS tag can be used to specify one or more directories that | ||
2253 | +# contain dot files that are included in the documentation (see the \dotfile | ||
2254 | +# command). | ||
2255 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2256 | + | ||
2257 | +DOTFILE_DIRS = | ||
2258 | + | ||
2259 | +# The MSCFILE_DIRS tag can be used to specify one or more directories that | ||
2260 | +# contain msc files that are included in the documentation (see the \mscfile | ||
2261 | +# command). | ||
2262 | + | ||
2263 | +MSCFILE_DIRS = | ||
2264 | + | ||
2265 | +# The DIAFILE_DIRS tag can be used to specify one or more directories that | ||
2266 | +# contain dia files that are included in the documentation (see the \diafile | ||
2267 | +# command). | ||
2268 | + | ||
2269 | +DIAFILE_DIRS = | ||
2270 | + | ||
2271 | +# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the | ||
2272 | +# path where java can find the plantuml.jar file. If left blank, it is assumed | ||
2273 | +# PlantUML is not used or called during a preprocessing step. Doxygen will | ||
2274 | +# generate a warning when it encounters a \startuml command in this case and | ||
2275 | +# will not generate output for the diagram. | ||
2276 | + | ||
2277 | +PLANTUML_JAR_PATH = | ||
2278 | + | ||
2279 | +# When using plantuml, the specified paths are searched for files specified by | ||
2280 | +# the !include statement in a plantuml block. | ||
2281 | + | ||
2282 | +PLANTUML_INCLUDE_PATH = | ||
2283 | + | ||
2284 | +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes | ||
2285 | +# that will be shown in the graph. If the number of nodes in a graph becomes | ||
2286 | +# larger than this value, doxygen will truncate the graph, which is visualized | ||
2287 | +# by representing a node as a red box. Note that doxygen if the number of direct | ||
2288 | +# children of the root node in a graph is already larger than | ||
2289 | +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that | ||
2290 | +# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. | ||
2291 | +# Minimum value: 0, maximum value: 10000, default value: 50. | ||
2292 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2293 | + | ||
2294 | +DOT_GRAPH_MAX_NODES = 50 | ||
2295 | + | ||
2296 | +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs | ||
2297 | +# generated by dot. A depth value of 3 means that only nodes reachable from the | ||
2298 | +# root by following a path via at most 3 edges will be shown. Nodes that lay | ||
2299 | +# further from the root node will be omitted. Note that setting this option to 1 | ||
2300 | +# or 2 may greatly reduce the computation time needed for large code bases. Also | ||
2301 | +# note that the size of a graph can be further restricted by | ||
2302 | +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. | ||
2303 | +# Minimum value: 0, maximum value: 1000, default value: 0. | ||
2304 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2305 | + | ||
2306 | +MAX_DOT_GRAPH_DEPTH = 0 | ||
2307 | + | ||
2308 | +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent | ||
2309 | +# background. This is disabled by default, because dot on Windows does not seem | ||
2310 | +# to support this out of the box. | ||
2311 | +# | ||
2312 | +# Warning: Depending on the platform used, enabling this option may lead to | ||
2313 | +# badly anti-aliased labels on the edges of a graph (i.e. they become hard to | ||
2314 | +# read). | ||
2315 | +# The default value is: NO. | ||
2316 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2317 | + | ||
2318 | +DOT_TRANSPARENT = NO | ||
2319 | + | ||
2320 | +# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output | ||
2321 | +# files in one run (i.e. multiple -o and -T options on the command line). This | ||
2322 | +# makes dot run faster, but since only newer versions of dot (>1.8.10) support | ||
2323 | +# this, this feature is disabled by default. | ||
2324 | +# The default value is: NO. | ||
2325 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2326 | + | ||
2327 | +DOT_MULTI_TARGETS = NO | ||
2328 | + | ||
2329 | +# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page | ||
2330 | +# explaining the meaning of the various boxes and arrows in the dot generated | ||
2331 | +# graphs. | ||
2332 | +# The default value is: YES. | ||
2333 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2334 | + | ||
2335 | +GENERATE_LEGEND = YES | ||
2336 | + | ||
2337 | +# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot | ||
2338 | +# files that are used to generate the various graphs. | ||
2339 | +# The default value is: YES. | ||
2340 | +# This tag requires that the tag HAVE_DOT is set to YES. | ||
2341 | + | ||
2342 | +DOT_CLEANUP = YES |
@@ -0,0 +1,42 @@ | @@ -0,0 +1,42 @@ | ||
1 | +v. | ||
2 | +sr. | ||
3 | +sr.ª | ||
4 | +sr.a | ||
5 | +sra. | ||
6 | +v.s.ª | ||
7 | +v.s.a | ||
8 | +v.ex.ª | ||
9 | +v.ex.a | ||
10 | +ex.ª | ||
11 | +ex.a | ||
12 | +v.em.ª | ||
13 | +v.em.a | ||
14 | +em.ª | ||
15 | +em.a | ||
16 | +v.a. | ||
17 | +a. | ||
18 | +v.s. | ||
19 | +v.rev.mª | ||
20 | +v.rev.ma | ||
21 | +rev.mª | ||
22 | +rev.ma | ||
23 | +v.p. | ||
24 | +p. | ||
25 | +v.mag.ª | ||
26 | +v.mag.a | ||
27 | +mag.ª | ||
28 | +mag.a | ||
29 | +v.m. | ||
30 | +m. | ||
31 | +vv. | ||
32 | +srs. | ||
33 | +srª.s | ||
34 | +sra.s | ||
35 | +v. sª.s | ||
36 | +v. ex.ªs | ||
37 | +v. em.ªs | ||
38 | +v v. a a. | ||
39 | +v. rev.mªs | ||
40 | +vv. pp. | ||
41 | +v. mag.ªs | ||
42 | +v v. m m. | ||
0 | \ No newline at end of file | 43 | \ No newline at end of file |
data/regras.xml
@@ -896,10 +896,11 @@ | @@ -896,10 +896,11 @@ | ||
896 | </class> | 896 | </class> |
897 | </rule> | 897 | </rule> |
898 | <rule name = "VP(VB_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de verbo --> | 898 | <rule name = "VP(VB_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de verbo --> |
899 | - <active>false</active> | 899 | + <active>true</active> |
900 | <count>2</count> | 900 | <count>2</count> |
901 | <class> | 901 | <class> |
902 | - <title>VB</title> | 902 | + <title>VB</title> |
903 | + <action>remove</action> | ||
903 | </class> | 904 | </class> |
904 | <class> | 905 | <class> |
905 | <title>ADV-R</title> | 906 | <title>ADV-R</title> |
@@ -948,7 +949,7 @@ | @@ -948,7 +949,7 @@ | ||
948 | </class> | 949 | </class> |
949 | </rule> | 950 | </rule> |
950 | <rule name = "AP(ADV-R_ADJ)"><!-- tratamento do adverbio de intensidade modificador de adjetivo --> | 951 | <rule name = "AP(ADV-R_ADJ)"><!-- tratamento do adverbio de intensidade modificador de adjetivo --> |
951 | - <active>false</active> | 952 | + <active>true</active> |
952 | <count>2</count> | 953 | <count>2</count> |
953 | <class> | 954 | <class> |
954 | <title>ADV-R</title> | 955 | <title>ADV-R</title> |
@@ -962,10 +963,11 @@ | @@ -962,10 +963,11 @@ | ||
962 | </class> | 963 | </class> |
963 | </rule> | 964 | </rule> |
964 | <rule name = "AP(ADJ_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo --> | 965 | <rule name = "AP(ADJ_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo --> |
965 | - <active>false</active> | 966 | + <active>true</active> |
966 | <count>2</count> | 967 | <count>2</count> |
967 | <class> | 968 | <class> |
968 | <title>ADJ</title> | 969 | <title>ADJ</title> |
970 | + <action>remove</action> | ||
969 | </class> | 971 | </class> |
970 | <class> | 972 | <class> |
971 | <title>ADV-R</title> | 973 | <title>ADV-R</title> |
@@ -1000,7 +1002,7 @@ | @@ -1000,7 +1002,7 @@ | ||
1000 | </class> | 1002 | </class> |
1001 | </rule> | 1003 | </rule> |
1002 | <rule name = "AP(ADV-R_ADJ-F)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino --> | 1004 | <rule name = "AP(ADV-R_ADJ-F)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino --> |
1003 | - <active>false</active> | 1005 | + <active>true</active> |
1004 | <count>2</count> | 1006 | <count>2</count> |
1005 | <class> | 1007 | <class> |
1006 | <title>ADV-R</title> | 1008 | <title>ADV-R</title> |
@@ -1014,10 +1016,11 @@ | @@ -1014,10 +1016,11 @@ | ||
1014 | </class> | 1016 | </class> |
1015 | </rule> | 1017 | </rule> |
1016 | <rule name = "AP(ADJ-F_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino --> | 1018 | <rule name = "AP(ADJ-F_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino --> |
1017 | - <active>false</active> | 1019 | + <active>true</active> |
1018 | <count>2</count> | 1020 | <count>2</count> |
1019 | <class> | 1021 | <class> |
1020 | <title>ADJ-F</title> | 1022 | <title>ADJ-F</title> |
1023 | + <action>remove</action> | ||
1021 | </class> | 1024 | </class> |
1022 | <class> | 1025 | <class> |
1023 | <title>ADV-R</title> | 1026 | <title>ADV-R</title> |
@@ -1052,7 +1055,7 @@ | @@ -1052,7 +1055,7 @@ | ||
1052 | </class> | 1055 | </class> |
1053 | </rule> | 1056 | </rule> |
1054 | <rule name = "AP(ADV-R_ADJ-G)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral --> | 1057 | <rule name = "AP(ADV-R_ADJ-G)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral --> |
1055 | - <active>false</active> | 1058 | + <active>true</active> |
1056 | <count>2</count> | 1059 | <count>2</count> |
1057 | <class> | 1060 | <class> |
1058 | <title>ADV-R</title> | 1061 | <title>ADV-R</title> |
@@ -1066,10 +1069,11 @@ | @@ -1066,10 +1069,11 @@ | ||
1066 | </class> | 1069 | </class> |
1067 | </rule> | 1070 | </rule> |
1068 | <rule name = "AP(ADJ-G_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral --> | 1071 | <rule name = "AP(ADJ-G_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral --> |
1069 | - <active>false</active> | 1072 | + <active>true</active> |
1070 | <count>2</count> | 1073 | <count>2</count> |
1071 | <class> | 1074 | <class> |
1072 | <title>ADJ-G</title> | 1075 | <title>ADJ-G</title> |
1076 | + <action>remove</action> | ||
1073 | </class> | 1077 | </class> |
1074 | <class> | 1078 | <class> |
1075 | <title>ADV-R</title> | 1079 | <title>ADV-R</title> |
@@ -1104,7 +1108,7 @@ | @@ -1104,7 +1108,7 @@ | ||
1104 | </class> | 1108 | </class> |
1105 | </rule> | 1109 | </rule> |
1106 | <rule name = "AP(ADV-R_ADJ-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo masculino plural --> | 1110 | <rule name = "AP(ADV-R_ADJ-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo masculino plural --> |
1107 | - <active>false</active> | 1111 | + <active>true</active> |
1108 | <count>2</count> | 1112 | <count>2</count> |
1109 | <class> | 1113 | <class> |
1110 | <title>ADV-R</title> | 1114 | <title>ADV-R</title> |
@@ -1118,10 +1122,11 @@ | @@ -1118,10 +1122,11 @@ | ||
1118 | </class> | 1122 | </class> |
1119 | </rule> | 1123 | </rule> |
1120 | <rule name = "AP(ADJ-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo masculino plural --> | 1124 | <rule name = "AP(ADJ-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo masculino plural --> |
1121 | - <active>false</active> | 1125 | + <active>true</active> |
1122 | <count>2</count> | 1126 | <count>2</count> |
1123 | <class> | 1127 | <class> |
1124 | <title>ADJ-P</title> | 1128 | <title>ADJ-P</title> |
1129 | + <action>remove</action> | ||
1125 | </class> | 1130 | </class> |
1126 | <class> | 1131 | <class> |
1127 | <title>ADV-R</title> | 1132 | <title>ADV-R</title> |
@@ -1156,7 +1161,7 @@ | @@ -1156,7 +1161,7 @@ | ||
1156 | </class> | 1161 | </class> |
1157 | </rule> | 1162 | </rule> |
1158 | <rule name = "AP(ADV-R_ADJ-F-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino plural --> | 1163 | <rule name = "AP(ADV-R_ADJ-F-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino plural --> |
1159 | - <active>false</active> | 1164 | + <active>true</active> |
1160 | <count>2</count> | 1165 | <count>2</count> |
1161 | <class> | 1166 | <class> |
1162 | <title>ADV-R</title> | 1167 | <title>ADV-R</title> |
@@ -1170,10 +1175,11 @@ | @@ -1170,10 +1175,11 @@ | ||
1170 | </class> | 1175 | </class> |
1171 | </rule> | 1176 | </rule> |
1172 | <rule name = "AP(ADJ-F-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino plural --> | 1177 | <rule name = "AP(ADJ-F-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo feminino plural --> |
1173 | - <active>false</active> | 1178 | + <active>true</active> |
1174 | <count>2</count> | 1179 | <count>2</count> |
1175 | <class> | 1180 | <class> |
1176 | <title>ADJ-F-P</title> | 1181 | <title>ADJ-F-P</title> |
1182 | + <action>remove</action> | ||
1177 | </class> | 1183 | </class> |
1178 | <class> | 1184 | <class> |
1179 | <title>ADV-R</title> | 1185 | <title>ADV-R</title> |
@@ -1208,7 +1214,7 @@ | @@ -1208,7 +1214,7 @@ | ||
1208 | </class> | 1214 | </class> |
1209 | </rule> | 1215 | </rule> |
1210 | <rule name = "AP(ADV-R_ADJ-G-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral plural--> | 1216 | <rule name = "AP(ADV-R_ADJ-G-P)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral plural--> |
1211 | - <active>false</active> | 1217 | + <active>true</active> |
1212 | <count>2</count> | 1218 | <count>2</count> |
1213 | <class> | 1219 | <class> |
1214 | <title>ADV-R</title> | 1220 | <title>ADV-R</title> |
@@ -1222,10 +1228,11 @@ | @@ -1222,10 +1228,11 @@ | ||
1222 | </class> | 1228 | </class> |
1223 | </rule> | 1229 | </rule> |
1224 | <rule name = "AP(ADJ-G-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral plural --> | 1230 | <rule name = "AP(ADJ-G-P_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adjetivo geral plural --> |
1225 | - <active>false</active> | 1231 | + <active>true</active> |
1226 | <count>2</count> | 1232 | <count>2</count> |
1227 | <class> | 1233 | <class> |
1228 | <title>ADJ-G-P</title> | 1234 | <title>ADJ-G-P</title> |
1235 | + <action>remove</action> | ||
1229 | </class> | 1236 | </class> |
1230 | <class> | 1237 | <class> |
1231 | <title>ADV-R</title> | 1238 | <title>ADV-R</title> |
@@ -1416,7 +1423,7 @@ | @@ -1416,7 +1423,7 @@ | ||
1416 | </class> | 1423 | </class> |
1417 | </rule> | 1424 | </rule> |
1418 | <rule name = "AdvP(ADV-R_ADV)"><!-- tratamento do adverbio de intensidade modificador de advervio--> | 1425 | <rule name = "AdvP(ADV-R_ADV)"><!-- tratamento do adverbio de intensidade modificador de advervio--> |
1419 | - <active>false</active> | 1426 | + <active>true</active> |
1420 | <count>2</count> | 1427 | <count>2</count> |
1421 | <class> | 1428 | <class> |
1422 | <title>ADV-R</title> | 1429 | <title>ADV-R</title> |
@@ -1430,10 +1437,11 @@ | @@ -1430,10 +1437,11 @@ | ||
1430 | </class> | 1437 | </class> |
1431 | </rule> | 1438 | </rule> |
1432 | <rule name = "AdvP(ADV_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adverbio (inverso) --> | 1439 | <rule name = "AdvP(ADV_ADV-R)"><!-- tratamento do adverbio de intensidade modificador de adverbio (inverso) --> |
1433 | - <active>false</active> | 1440 | + <active>true</active> |
1434 | <count>2</count> | 1441 | <count>2</count> |
1435 | <class> | 1442 | <class> |
1436 | <title>ADV</title> | 1443 | <title>ADV</title> |
1444 | + <action>remove</action> | ||
1437 | </class> | 1445 | </class> |
1438 | <class> | 1446 | <class> |
1439 | <title>ADV-R</title> | 1447 | <title>ADV-R</title> |
@@ -0,0 +1,57 @@ | @@ -0,0 +1,57 @@ | ||
1 | +#!/bin/bash | ||
2 | + | ||
3 | +read -r -p "Deseja fazer o download das dependências? [Y/n] " response | ||
4 | + response=${response,,} # tolower | ||
5 | + if [[ $response =~ ^(yes|y| ) ]]; then | ||
6 | + mkdir ~/vlibras-libs | ||
7 | + cd ~/vlibras-libs | ||
8 | + | ||
9 | + mkdir aelius | ||
10 | + cd aelius | ||
11 | + | ||
12 | + wget 150.165.204.30:8080/translate/linux/aelius-install.tar.gz | ||
13 | + | ||
14 | + read -r -p "Deseja instalar as dependências? [Y/n] " response | ||
15 | + response=${response,,} # tolower | ||
16 | + if [[ $response =~ ^(yes|y| ) ]]; then | ||
17 | + echo -e "\n# Extraindo...\n" | ||
18 | + tar -xf aelius-install.tar.gz -C . | ||
19 | + | ||
20 | + echo -e "# Instalando dependências...\n" | ||
21 | + sudo apt-get install -y python-dev python-setuptools python-pip python-yaml python-numpy python-matplotlib | ||
22 | + sudo pip install nltk nltk_tgrep | ||
23 | + | ||
24 | + fi | ||
25 | + | ||
26 | + read -r -p "Deseja limpar os arquivos temporários? [Y/n] " response | ||
27 | + response=${response,,} # tolower | ||
28 | + if [[ $response =~ ^(yes|y| ) ]]; then | ||
29 | + rm ~/vlibras-libs/aelius/aelius-install.tar.gz | ||
30 | + fi | ||
31 | + | ||
32 | + fi | ||
33 | + | ||
34 | + | ||
35 | +read -r -p "Deseja criar as variáveis de ambiente? [Y/n] " response | ||
36 | + response=${response,,} # tolower | ||
37 | + if [[ $response =~ ^(yes|y| ) ]]; then | ||
38 | + # path to Hunpos Tag | ||
39 | + echo -e "\nHUNPOS_TAGGER=\"$HOME/vlibras-libs/aelius/bin/hunpos-tag\"" >> ~/.bashrc | ||
40 | + echo -e "export HUNPOS_TAGGER" >> ~/.bashrc | ||
41 | + | ||
42 | + # path to Aelius Data | ||
43 | + echo -e "\nAELIUS_DATA=\"$HOME/vlibras-libs/aelius/aelius_data\"" >> ~/.bashrc | ||
44 | + echo -e "export AELIUS_DATA" >> ~/.bashrc | ||
45 | + | ||
46 | + # path to NLTK Data | ||
47 | + echo -e "\nNLTK_DATA=\"$HOME/vlibras-libs/aelius/nltk_data\"" >> ~/.bashrc | ||
48 | + echo -e "export NLTK_DATA" >> ~/.bashrc | ||
49 | + | ||
50 | + # path to Aelius and Translate package (new version) | ||
51 | + echo -e "\nPYTHONPATH=\"${PYTHONPATH}:$HOME/vlibras-libs/aelius:$HOME/vlibras-translate/src\"" >> ~/.bashrc | ||
52 | + echo -e "export PYTHONPATH\n" >> ~/.bashrc | ||
53 | + | ||
54 | + echo -e "\n## Execute o seguinte comando para concluir:\n\n$ source ~/.bashrc\n" | ||
55 | + fi | ||
56 | + | ||
57 | +echo -e "### Instalação finalizada!" | ||
0 | \ No newline at end of file | 58 | \ No newline at end of file |
install/linux/translate_install.sh
@@ -1,57 +0,0 @@ | @@ -1,57 +0,0 @@ | ||
1 | -#!/bin/bash | ||
2 | - | ||
3 | -read -r -p "Deseja fazer o download das dependências? [Y/n] " response | ||
4 | - response=${response,,} # tolower | ||
5 | - if [[ $response =~ ^(yes|y| ) ]]; then | ||
6 | - mkdir ~/vlibras-libs | ||
7 | - cd ~/vlibras-libs | ||
8 | - | ||
9 | - mkdir aelius | ||
10 | - cd aelius | ||
11 | - | ||
12 | - wget 150.165.204.30:8080/translate/linux/aelius-install.tar.gz | ||
13 | - | ||
14 | - read -r -p "Deseja instalar as dependências? [Y/n] " response | ||
15 | - response=${response,,} # tolower | ||
16 | - if [[ $response =~ ^(yes|y| ) ]]; then | ||
17 | - echo -e "\n# Extraindo...\n" | ||
18 | - tar -xf aelius-install.tar.gz -C . | ||
19 | - | ||
20 | - echo -e "# Instalando dependências...\n" | ||
21 | - sudo apt-get install -y python-dev python-setuptools python-pip python-yaml python-numpy python-matplotlib | ||
22 | - sudo pip install nltk nltk_tgrep | ||
23 | - | ||
24 | - fi | ||
25 | - | ||
26 | - read -r -p "Deseja limpar os arquivos temporários? [Y/n] " response | ||
27 | - response=${response,,} # tolower | ||
28 | - if [[ $response =~ ^(yes|y| ) ]]; then | ||
29 | - rm ~/vlibras-libs/aelius/aelius-install.tar.gz | ||
30 | - fi | ||
31 | - | ||
32 | - fi | ||
33 | - | ||
34 | - | ||
35 | -read -r -p "Deseja criar as variáveis de ambiente? [Y/n] " response | ||
36 | - response=${response,,} # tolower | ||
37 | - if [[ $response =~ ^(yes|y| ) ]]; then | ||
38 | - # path to Hunpos Tag | ||
39 | - echo -e "\nHUNPOS_TAGGER=\"$HOME/vlibras-libs/aelius/bin/hunpos-tag\"" >> ~/.bashrc | ||
40 | - echo -e "export HUNPOS_TAGGER" >> ~/.bashrc | ||
41 | - | ||
42 | - # path to Aelius Data | ||
43 | - echo -e "\nAELIUS_DATA=\"$HOME/vlibras-libs/aelius/aelius_data\"" >> ~/.bashrc | ||
44 | - echo -e "export AELIUS_DATA" >> ~/.bashrc | ||
45 | - | ||
46 | - # path to NLTK Data | ||
47 | - echo -e "\nNLTK_DATA=\"$HOME/vlibras-libs/aelius/nltk_data\"" >> ~/.bashrc | ||
48 | - echo -e "export NLTK_DATA" >> ~/.bashrc | ||
49 | - | ||
50 | - # path to Aelius and Translate package (new version) | ||
51 | - echo -e "\nPYTHONPATH=\"${PYTHONPATH}:$HOME/vlibras-libs/aelius:$HOME/vlibras-translate/src\"" >> ~/.bashrc | ||
52 | - echo -e "export PYTHONPATH\n" >> ~/.bashrc | ||
53 | - | ||
54 | - echo -e "\n## Execute o seguinte comando para concluir:\n\n$ source ~/.bashrc\n" | ||
55 | - fi | ||
56 | - | ||
57 | -echo -e "### Instalação finalizada!" | ||
58 | \ No newline at end of file | 0 | \ No newline at end of file |
src/AplicaRegras.py
@@ -19,9 +19,12 @@ from nltk_tgrep import tgrep_positions, tgrep_nodes | @@ -19,9 +19,12 @@ from nltk_tgrep import tgrep_positions, tgrep_nodes | ||
19 | from nltk import ParentedTree, Tree, draw | 19 | from nltk import ParentedTree, Tree, draw |
20 | 20 | ||
21 | class AplicaRegras(object): | 21 | class AplicaRegras(object): |
22 | - """Responsável pela aplicação das regras morfológicas e sintáticas""" | 22 | + '''Aplica as regras morfológicas e sintáticas após a análise morfológica/sintática. |
23 | + ''' | ||
23 | 24 | ||
24 | - def __init__(self): | 25 | + def __init__(self): |
26 | + '''Define funções para campos especificos do arquivo de regras. | ||
27 | + ''' | ||
25 | self.__root = self.get_root() | 28 | self.__root = self.get_root() |
26 | self.dicionarios = LerDicionarios() | 29 | self.dicionarios = LerDicionarios() |
27 | # Dicionário de funcões do campo specific do arquivo de regras | 30 | # Dicionário de funcões do campo specific do arquivo de regras |
@@ -34,12 +37,16 @@ class AplicaRegras(object): | @@ -34,12 +37,16 @@ class AplicaRegras(object): | ||
34 | 37 | ||
35 | # Gera arvore a partir do arquivos regras.xml | 38 | # Gera arvore a partir do arquivos regras.xml |
36 | def get_root(self): | 39 | def get_root(self): |
40 | + '''Verifica qual o SO e gera o path de onde se encontra o diretório data. | ||
41 | + ''' | ||
37 | if platform.system() == 'Windows': | 42 | if platform.system() == 'Windows': |
38 | return ET.parse(environ.get("HOMEDRIVE")+'\\vlibras-libs\\vlibras-translate\data\\regras.xml').getroot() | 43 | return ET.parse(environ.get("HOMEDRIVE")+'\\vlibras-libs\\vlibras-translate\data\\regras.xml').getroot() |
39 | return ET.parse(expanduser("~")+'/vlibras-translate/data/regras.xml').getroot() | 44 | return ET.parse(expanduser("~")+'/vlibras-translate/data/regras.xml').getroot() |
40 | 45 | ||
41 | # Aplica regras morfológicas apartir do arquivo regras.xml | 46 | # Aplica regras morfológicas apartir do arquivo regras.xml |
42 | def aplicar_regras_morfo(self, lista, sint=False): | 47 | def aplicar_regras_morfo(self, lista, sint=False): |
48 | + '''Aplica regras morfológicas na lista de tuplas. | ||
49 | + ''' | ||
43 | self.lista = list(lista) # Nova cópia da lista morfológica | 50 | self.lista = list(lista) # Nova cópia da lista morfológica |
44 | self.lista_corrigida =[] # Lista morfológica após a aplicação das regras | 51 | self.lista_corrigida =[] # Lista morfológica após a aplicação das regras |
45 | 52 | ||
@@ -129,6 +136,8 @@ class AplicaRegras(object): | @@ -129,6 +136,8 @@ class AplicaRegras(object): | ||
129 | 136 | ||
130 | 137 | ||
131 | def aplicar_regras_sint(self, lista, arvore): | 138 | def aplicar_regras_sint(self, lista, arvore): |
139 | + '''Aplica regras sintáticas na árvore. | ||
140 | + ''' | ||
132 | p_arvore = ParentedTree.convert(arvore) | 141 | p_arvore = ParentedTree.convert(arvore) |
133 | self.adaptar_regras_morfo_arvore(lista, p_arvore) | 142 | self.adaptar_regras_morfo_arvore(lista, p_arvore) |
134 | for morpho in self.__root.findall('syntactic'): | 143 | for morpho in self.__root.findall('syntactic'): |
@@ -236,9 +245,9 @@ class AplicaRegras(object): | @@ -236,9 +245,9 @@ class AplicaRegras(object): | ||
236 | 245 | ||
237 | return self.converter_arv_para_lista(p_arvore) | 246 | return self.converter_arv_para_lista(p_arvore) |
238 | 247 | ||
239 | - | ||
240 | - # Aplica regras morfológicas na árvore sintática | ||
241 | def adaptar_regras_morfo_arvore(self, lista, arvore): | 248 | def adaptar_regras_morfo_arvore(self, lista, arvore): |
249 | + '''Aplica regras morfológicas na árvore sintática. | ||
250 | + ''' | ||
242 | lista_pos_arv = [] | 251 | lista_pos_arv = [] |
243 | # Pega as posições das classificações morfológicas dos tokens na arvore sintática | 252 | # Pega as posições das classificações morfológicas dos tokens na arvore sintática |
244 | for tupla in lista: | 253 | for tupla in lista: |
@@ -283,8 +292,9 @@ class AplicaRegras(object): | @@ -283,8 +292,9 @@ class AplicaRegras(object): | ||
283 | 292 | ||
284 | #draw.draw_trees(arvore) | 293 | #draw.draw_trees(arvore) |
285 | 294 | ||
286 | - # Converte árvore sintática para uma lista de tuplas (igual a lista morfológica) | ||
287 | def converter_arv_para_lista(self, arvore): | 295 | def converter_arv_para_lista(self, arvore): |
296 | + '''Converte árvore sintática para uma lista de tuplas (igual a lista morfológica). | ||
297 | + ''' | ||
288 | folhas = filter(None, arvore.leaves()) | 298 | folhas = filter(None, arvore.leaves()) |
289 | lista_nodes = [] | 299 | lista_nodes = [] |
290 | for folha in folhas: | 300 | for folha in folhas: |
@@ -295,30 +305,36 @@ class AplicaRegras(object): | @@ -295,30 +305,36 @@ class AplicaRegras(object): | ||
295 | return lista_nodes | 305 | return lista_nodes |
296 | 306 | ||
297 | def remover_acento(self, texto): | 307 | def remover_acento(self, texto): |
308 | + '''Remove acento de um texto. | ||
309 | + ''' | ||
298 | try: | 310 | try: |
299 | return normalize('NFKD', texto.encode('utf-8').decode('utf-8')).encode('ASCII', 'ignore') | 311 | return normalize('NFKD', texto.encode('utf-8').decode('utf-8')).encode('ASCII', 'ignore') |
300 | except: | 312 | except: |
301 | return normalize('NFKD', texto.encode('iso-8859-1').decode('iso-8859-1')).encode('ASCII','ignore') | 313 | return normalize('NFKD', texto.encode('iso-8859-1').decode('iso-8859-1')).encode('ASCII','ignore') |
302 | 314 | ||
303 | - # Gera um ParentedTree do NLTK apartir da string recebida | ||
304 | def gerar_no(self, s): | 315 | def gerar_no(self, s): |
316 | + '''Gera um ParentedTree do NLTK apartir da string recebida. | ||
317 | + ''' | ||
305 | all_ptrees = [] | 318 | all_ptrees = [] |
306 | t_string = '('+s[1] + ' ' + s[0]+')' | 319 | t_string = '('+s[1] + ' ' + s[0]+')' |
307 | ptree = ParentedTree.convert(Tree.fromstring(t_string)) | 320 | ptree = ParentedTree.convert(Tree.fromstring(t_string)) |
308 | all_ptrees.extend(t for t in ptree.subtrees() | 321 | all_ptrees.extend(t for t in ptree.subtrees() |
309 | if isinstance(t, Tree)) | 322 | if isinstance(t, Tree)) |
310 | return ptree | 323 | return ptree |
311 | - | ||
312 | - # Corrige nome da regra descrita no arquivo de regras para como está na árvore sintática | 324 | + |
313 | def corrigir_nome_regra(self, anotacao): | 325 | def corrigir_nome_regra(self, anotacao): |
326 | + '''Corrige nome da regra descrita no arquivo de regras para como está na árvore sintática. | ||
327 | + ''' | ||
314 | split = anotacao.split('_') | 328 | split = anotacao.split('_') |
315 | for i in range(0, len(split)): | 329 | for i in range(0, len(split)): |
316 | split[i] = re.sub(r"[-+]","_", split[i]) | 330 | split[i] = re.sub(r"[-+]","_", split[i]) |
317 | split[i] = re.sub(r"\$","_S",split[i]) | 331 | split[i] = re.sub(r"\$","_S",split[i]) |
318 | return "-".join(split).encode('utf-8') | 332 | return "-".join(split).encode('utf-8') |
319 | 333 | ||
320 | - # Separa a regra por nó pai e seus filhos | ||
321 | def separar_regra(self, regra): | 334 | def separar_regra(self, regra): |
335 | + '''Separa a regra por nó pai e seus filhos. | ||
336 | + Dessa forma, conseguimos encontrar a regra sintática exata para cada caso. | ||
337 | + ''' | ||
322 | split = regra.split("(") | 338 | split = regra.split("(") |
323 | split[1] = split[1].replace(")","").split("-") | 339 | split[1] = split[1].replace(")","").split("-") |
324 | rev = list(split[1]) | 340 | rev = list(split[1]) |
@@ -328,8 +344,9 @@ class AplicaRegras(object): | @@ -328,8 +344,9 @@ class AplicaRegras(object): | ||
328 | split[2] = ' $ '.join(split[2]) | 344 | split[2] = ' $ '.join(split[2]) |
329 | return split | 345 | return split |
330 | 346 | ||
331 | - # Gera nome de regra apartir de uma lista | ||
332 | def gerar_nome_regra(self, lista): | 347 | def gerar_nome_regra(self, lista): |
348 | + '''Gera nome de regra a partir da lista morfológica. | ||
349 | + ''' | ||
333 | nome_regra = [] | 350 | nome_regra = [] |
334 | for t in lista: | 351 | for t in lista: |
335 | nome_regra.append(t[1]) | 352 | nome_regra.append(t[1]) |
@@ -373,8 +390,10 @@ class AplicaRegras(object): | @@ -373,8 +390,10 @@ class AplicaRegras(object): | ||
373 | def get_token_intensidade(self, token): | 390 | def get_token_intensidade(self, token): |
374 | print 'TODO' | 391 | print 'TODO' |
375 | 392 | ||
376 | - # Simplifica a sentença para que possa evitar a ditalogia | ||
377 | def simplificar_sentenca(self, lista): | 393 | def simplificar_sentenca(self, lista): |
394 | + '''Simplifica a sentença para que possa evitar a ditalogia. | ||
395 | + Como por exemplo a troca de uma palavra no plural para singular. | ||
396 | + ''' | ||
378 | lista_simplificada = list(lista) | 397 | lista_simplificada = list(lista) |
379 | it = Iterator() | 398 | it = Iterator() |
380 | it.load(lista_simplificada) | 399 | it.load(lista_simplificada) |
@@ -397,8 +416,9 @@ class AplicaRegras(object): | @@ -397,8 +416,9 @@ class AplicaRegras(object): | ||
397 | 416 | ||
398 | return lista_simplificada | 417 | return lista_simplificada |
399 | 418 | ||
400 | - # Alterar uma palavra do plural para o singular | ||
401 | def analisar_plural(self, token): | 419 | def analisar_plural(self, token): |
420 | + '''Altera uma palavra do plural para o singular de acordo com o final da mesma. | ||
421 | + ''' | ||
402 | if(token[-3:] == "ões".decode('utf-8') or token[-2:] == "ães".decode('utf-8') or token[-2:] == "ãos".decode('utf-8')): | 422 | if(token[-3:] == "ões".decode('utf-8') or token[-2:] == "ães".decode('utf-8') or token[-2:] == "ãos".decode('utf-8')): |
403 | return token[0:-3]+"ão".decode('utf-8') | 423 | return token[0:-3]+"ão".decode('utf-8') |
404 | elif(token[-3:] == "res" or token[-2:] == "zes" or token[-2:] == "nes"): | 424 | elif(token[-3:] == "res" or token[-2:] == "zes" or token[-2:] == "nes"): |
@@ -420,8 +440,9 @@ class AplicaRegras(object): | @@ -420,8 +440,9 @@ class AplicaRegras(object): | ||
420 | else: | 440 | else: |
421 | return token | 441 | return token |
422 | 442 | ||
423 | - # Converter número por extenso para numeral | ||
424 | def converter_extenso(self, lista): | 443 | def converter_extenso(self, lista): |
444 | + '''Converte número por extenso para sua forma numerica. | ||
445 | + ''' | ||
425 | lista_extensos = [] | 446 | lista_extensos = [] |
426 | indices_deletar = [] | 447 | indices_deletar = [] |
427 | count = 0 | 448 | count = 0 |
src/AplicaSinonimos.py
@@ -13,13 +13,16 @@ from nltk.tree import Tree | @@ -13,13 +13,16 @@ from nltk.tree import Tree | ||
13 | from LerDicionarios import * | 13 | from LerDicionarios import * |
14 | 14 | ||
15 | class AplicaSinonimos(object): | 15 | class AplicaSinonimos(object): |
16 | - """Classe responsável por aplicar os sinonimos após aplicação de regras morfológicas/sintáticas""" | 16 | + '''Aplica sinonimos após aplicação de regras morfológicas/sintáticas. |
17 | + ''' | ||
17 | 18 | ||
18 | def __init__(self): | 19 | def __init__(self): |
19 | self.dicionarios = LerDicionarios() | 20 | self.dicionarios = LerDicionarios() |
20 | 21 | ||
21 | # Itera sobre os tokens obtendo os sinonimos | 22 | # Itera sobre os tokens obtendo os sinonimos |
22 | def aplicar_sinonimos(self, lista_anotada): | 23 | def aplicar_sinonimos(self, lista_anotada): |
24 | + '''Percorre a lista fazendo a substituição pelos sinonimos. | ||
25 | + ''' | ||
23 | lista_corrigida = [] | 26 | lista_corrigida = [] |
24 | for tupla in lista_anotada: | 27 | for tupla in lista_anotada: |
25 | sinonimo = self.verificar_sinonimo(tupla[0]) | 28 | sinonimo = self.verificar_sinonimo(tupla[0]) |
@@ -31,6 +34,8 @@ class AplicaSinonimos(object): | @@ -31,6 +34,8 @@ class AplicaSinonimos(object): | ||
31 | 34 | ||
32 | # Verifica se há sinonimo do token | 35 | # Verifica se há sinonimo do token |
33 | def verificar_sinonimo(self, token): | 36 | def verificar_sinonimo(self, token): |
37 | + '''Verifica se há sinonimo do token. | ||
38 | + ''' | ||
34 | if self.dicionarios.has_sinonimo(token): | 39 | if self.dicionarios.has_sinonimo(token): |
35 | return self.dicionarios.get_sinonimo(token) | 40 | return self.dicionarios.get_sinonimo(token) |
36 | return token | 41 | return token |
37 | \ No newline at end of file | 42 | \ No newline at end of file |
src/Iterator.py
@@ -7,57 +7,87 @@ | @@ -7,57 +7,87 @@ | ||
7 | #LAViD - Laboratório de Aplicações de Vídeo Digital | 7 | #LAViD - Laboratório de Aplicações de Vídeo Digital |
8 | 8 | ||
9 | class Iterator(object): | 9 | class Iterator(object): |
10 | - """Classe para iterar listas no formato da classfição morfológica [token,classificaçãosss]""" | ||
11 | - | 10 | + '''Itera lista no formato da classfição morfológica [token,tag]. |
11 | + ''' | ||
12 | + | ||
12 | def init(self): | 13 | def init(self): |
13 | self.count = -1 | 14 | self.count = -1 |
14 | 15 | ||
15 | def load(self, lista): | 16 | def load(self, lista): |
17 | + '''Carrega a lista no iterator. | ||
18 | + ''' | ||
16 | self.reset() | 19 | self.reset() |
17 | self.list = list(lista); | 20 | self.list = list(lista); |
18 | self.size = len(lista) | 21 | self.size = len(lista) |
19 | 22 | ||
20 | def reset(self): | 23 | def reset(self): |
24 | + '''Reseta o iterator. | ||
25 | + ''' | ||
21 | self.count = -1 | 26 | self.count = -1 |
22 | 27 | ||
23 | def get_size(self): | 28 | def get_size(self): |
29 | + '''Obtém o tamanho da lista carregada. | ||
30 | + ''' | ||
24 | return self.size | 31 | return self.size |
25 | 32 | ||
26 | def get_count(self): | 33 | def get_count(self): |
34 | + '''Obtém o contador do iteração. | ||
35 | + ''' | ||
27 | return self.count | 36 | return self.count |
28 | 37 | ||
29 | def get_token(self, i=None): | 38 | def get_token(self, i=None): |
39 | + '''Obtém a tupla corrente da lista. | ||
40 | + Caso seja informado o parametro i, será retornado atual+i. | ||
41 | + ''' | ||
30 | if(i != None): | 42 | if(i != None): |
31 | return self.list[self.count+(i)] | 43 | return self.list[self.count+(i)] |
32 | return self.list[self.count] | 44 | return self.list[self.count] |
33 | 45 | ||
34 | def get_word(self): | 46 | def get_word(self): |
47 | + '''Obtém a palavra da tupla corrente. | ||
48 | + ''' | ||
35 | return self.get_token()[0] | 49 | return self.get_token()[0] |
36 | 50 | ||
37 | def get_ticket(self): | 51 | def get_ticket(self): |
52 | + '''Obtém a tag(classificação) da tupla corrente. | ||
53 | + ''' | ||
38 | return self.get_token()[1] | 54 | return self.get_token()[1] |
39 | 55 | ||
40 | def get_next_word(self): | 56 | def get_next_word(self): |
57 | + '''Obtém a palavra da próxima tupla. | ||
58 | + ''' | ||
41 | return self.get_token(1)[0] | 59 | return self.get_token(1)[0] |
42 | 60 | ||
43 | def get_next_ticket(self): | 61 | def get_next_ticket(self): |
62 | + '''Obtém a tag(classificação) da próxima tupla. | ||
63 | + ''' | ||
44 | return self.get_token(1)[1] | 64 | return self.get_token(1)[1] |
45 | 65 | ||
46 | def get_prev_word(self): | 66 | def get_prev_word(self): |
67 | + '''Obtém a palavra da tupla anterior. | ||
68 | + ''' | ||
47 | return self.get_token(-1)[0] | 69 | return self.get_token(-1)[0] |
48 | 70 | ||
49 | def get_prev_ticket(self): | 71 | def get_prev_ticket(self): |
72 | + '''Obtém a tag(classificação) da tupla anterior. | ||
73 | + ''' | ||
50 | return self.get_token(-1)[1] | 74 | return self.get_token(-1)[1] |
51 | 75 | ||
52 | def get_interval(self, n): | 76 | def get_interval(self, n): |
77 | + '''Obtém o intervalo entre a tupla corrente e contador corrente + n. | ||
78 | + ''' | ||
53 | if self.count+n > self.size: | 79 | if self.count+n > self.size: |
54 | raise IndexError | 80 | raise IndexError |
55 | return self.list[self.count:self.count+n] | 81 | return self.list[self.count:self.count+n] |
56 | 82 | ||
57 | def skip(self, n): | 83 | def skip(self, n): |
84 | + '''Pula n iterações. | ||
85 | + ''' | ||
58 | self.count += n | 86 | self.count += n |
59 | 87 | ||
60 | def has_next(self): | 88 | def has_next(self): |
89 | + '''Verifica se ainda há tupla a ser analisada. | ||
90 | + ''' | ||
61 | if(self.count < self.size-1): | 91 | if(self.count < self.size-1): |
62 | self.count += 1 | 92 | self.count += 1 |
63 | return True | 93 | return True |
src/LerDicionarios.py
@@ -12,6 +12,8 @@ import csv | @@ -12,6 +12,8 @@ import csv | ||
12 | import platform | 12 | import platform |
13 | 13 | ||
14 | class Singleton(object): | 14 | class Singleton(object): |
15 | + ''' Permite a criação de apenas uma instância da classe | ||
16 | + ''' | ||
15 | 17 | ||
16 | def __new__(cls, *args, **kwargs): | 18 | def __new__(cls, *args, **kwargs): |
17 | if '_inst' not in vars(cls): | 19 | if '_inst' not in vars(cls): |
@@ -19,7 +21,8 @@ class Singleton(object): | @@ -19,7 +21,8 @@ class Singleton(object): | ||
19 | return cls._inst | 21 | return cls._inst |
20 | 22 | ||
21 | class LerDicionarios(Singleton): | 23 | class LerDicionarios(Singleton): |
22 | - """Carrega todos os arquivos necessários para auxilio das aplicação de regras""" | 24 | + '''Carrega todos os arquivos (dicionários) necessários para auxiliar durante o processo de tradução. |
25 | + ''' | ||
23 | 26 | ||
24 | def __init__(self): | 27 | def __init__(self): |
25 | self.path = self.get_path() | 28 | self.path = self.get_path() |
@@ -29,7 +32,8 @@ class LerDicionarios(Singleton): | @@ -29,7 +32,8 @@ class LerDicionarios(Singleton): | ||
29 | self.set_art = [] | 32 | self.set_art = [] |
30 | self.set_prep = [] | 33 | self.set_prep = [] |
31 | self.dic_sin = {} | 34 | self.dic_sin = {} |
32 | - self.set_sb_2_gen = [] | 35 | + self.set_sb_2_gen = [] |
36 | + self.set_pron_trat = [] | ||
33 | self.dic_vb_infinitivo = {} | 37 | self.dic_vb_infinitivo = {} |
34 | self.set_vb_ligacao = [] | 38 | self.set_vb_ligacao = [] |
35 | self.dic_vb_muda_negacao = [] | 39 | self.dic_vb_muda_negacao = [] |
@@ -37,11 +41,15 @@ class LerDicionarios(Singleton): | @@ -37,11 +41,15 @@ class LerDicionarios(Singleton): | ||
37 | self.carregar_dicionarios() | 41 | self.carregar_dicionarios() |
38 | 42 | ||
39 | def get_path(self): | 43 | def get_path(self): |
44 | + '''Verifica qual o SO e gera o path de onde se encontra o diretório data. | ||
45 | + ''' | ||
40 | if platform.system() == 'Windows': | 46 | if platform.system() == 'Windows': |
41 | return environ.get("HOMEDRIVE") + "\\vlibras-libs\\vlibras-translate\data\\" | 47 | return environ.get("HOMEDRIVE") + "\\vlibras-libs\\vlibras-translate\data\\" |
42 | return expanduser("~") + "/vlibras-translate/data/" | 48 | return expanduser("~") + "/vlibras-translate/data/" |
43 | 49 | ||
44 | def carregar_dicionarios(self): | 50 | def carregar_dicionarios(self): |
51 | + '''Realiza a leitura dos arquivos e atribui à estruturas de dicionários e sets. | ||
52 | + ''' | ||
45 | self.carregar_excecoes_plural() | 53 | self.carregar_excecoes_plural() |
46 | self.carregar_adverbios_intensidade() | 54 | self.carregar_adverbios_intensidade() |
47 | self.carregar_adverbios_tempo() | 55 | self.carregar_adverbios_tempo() |
@@ -49,12 +57,14 @@ class LerDicionarios(Singleton): | @@ -49,12 +57,14 @@ class LerDicionarios(Singleton): | ||
49 | self.carregar_preposicoes() | 57 | self.carregar_preposicoes() |
50 | self.carregar_sinonimos() | 58 | self.carregar_sinonimos() |
51 | self.carregar_subs_2_generos() | 59 | self.carregar_subs_2_generos() |
60 | + self.carregar_pronomes_tratamento() | ||
52 | self.carregar_verbos_infinitivo() | 61 | self.carregar_verbos_infinitivo() |
53 | self.carregar_verbos_ligacao() | 62 | self.carregar_verbos_ligacao() |
54 | self.carregar_verbos_muda_negacao | 63 | self.carregar_verbos_muda_negacao |
55 | 64 | ||
56 | - | ||
57 | def carregar_excecoes_plural(self): | 65 | def carregar_excecoes_plural(self): |
66 | + '''Carrega arquivo de exceções de plural. | ||
67 | + ''' | ||
58 | try: | 68 | try: |
59 | self.file = csv.reader(open(self.path+"excecoesPlural.csv")) | 69 | self.file = csv.reader(open(self.path+"excecoesPlural.csv")) |
60 | except IOError, (errno, strerror): | 70 | except IOError, (errno, strerror): |
@@ -67,6 +77,8 @@ class LerDicionarios(Singleton): | @@ -67,6 +77,8 @@ class LerDicionarios(Singleton): | ||
67 | self.set_exc_plural = set(rows) | 77 | self.set_exc_plural = set(rows) |
68 | 78 | ||
69 | def carregar_adverbios_intensidade(self): | 79 | def carregar_adverbios_intensidade(self): |
80 | + '''Carrega arquivo de adverbios de intensidade. | ||
81 | + ''' | ||
70 | try: | 82 | try: |
71 | self.file = csv.reader(open(self.path+"adverbiosIntensidade.csv"), delimiter=";") | 83 | self.file = csv.reader(open(self.path+"adverbiosIntensidade.csv"), delimiter=";") |
72 | except IOError, (errno, strerror): | 84 | except IOError, (errno, strerror): |
@@ -78,6 +90,8 @@ class LerDicionarios(Singleton): | @@ -78,6 +90,8 @@ class LerDicionarios(Singleton): | ||
78 | self.dic_adv_intensidade[row[0].decode("utf-8")] = row[1].decode("utf-8") | 90 | self.dic_adv_intensidade[row[0].decode("utf-8")] = row[1].decode("utf-8") |
79 | 91 | ||
80 | def carregar_adverbios_tempo(self): | 92 | def carregar_adverbios_tempo(self): |
93 | + '''Carrega arquivo de advérbios de tempo. | ||
94 | + ''' | ||
81 | try: | 95 | try: |
82 | self.file = csv.reader(open(self.path+"adverbiosTempo.csv")) | 96 | self.file = csv.reader(open(self.path+"adverbiosTempo.csv")) |
83 | except IOError, (errno, strerror): | 97 | except IOError, (errno, strerror): |
@@ -90,6 +104,8 @@ class LerDicionarios(Singleton): | @@ -90,6 +104,8 @@ class LerDicionarios(Singleton): | ||
90 | self.set_adv_tempo = set(rows) | 104 | self.set_adv_tempo = set(rows) |
91 | 105 | ||
92 | def carregar_artigos(self): | 106 | def carregar_artigos(self): |
107 | + '''Carrega arquivo de artigos a serem removidos. | ||
108 | + ''' | ||
93 | try: | 109 | try: |
94 | self.file = csv.reader(open(self.path+"artigos.csv")) | 110 | self.file = csv.reader(open(self.path+"artigos.csv")) |
95 | except IOError, (errno, strerror): | 111 | except IOError, (errno, strerror): |
@@ -102,6 +118,8 @@ class LerDicionarios(Singleton): | @@ -102,6 +118,8 @@ class LerDicionarios(Singleton): | ||
102 | self.set_art = set(rows) | 118 | self.set_art = set(rows) |
103 | 119 | ||
104 | def carregar_preposicoes(self): | 120 | def carregar_preposicoes(self): |
121 | + '''Carrega arquivo de preposições a serem removidas. | ||
122 | + ''' | ||
105 | try: | 123 | try: |
106 | self.file = csv.reader(open(self.path+"preposicoes.csv")) | 124 | self.file = csv.reader(open(self.path+"preposicoes.csv")) |
107 | except IOError, (errno, strerror): | 125 | except IOError, (errno, strerror): |
@@ -114,6 +132,8 @@ class LerDicionarios(Singleton): | @@ -114,6 +132,8 @@ class LerDicionarios(Singleton): | ||
114 | self.set_prep = set(rows) | 132 | self.set_prep = set(rows) |
115 | 133 | ||
116 | def carregar_sinonimos(self): | 134 | def carregar_sinonimos(self): |
135 | + '''Carrega arquivo de sinônimos. | ||
136 | + ''' | ||
117 | try: | 137 | try: |
118 | self.file = csv.reader(open(self.path+"sinonimos.csv"), delimiter=";") | 138 | self.file = csv.reader(open(self.path+"sinonimos.csv"), delimiter=";") |
119 | except IOError, (errno, strerror): | 139 | except IOError, (errno, strerror): |
@@ -128,6 +148,8 @@ class LerDicionarios(Singleton): | @@ -128,6 +148,8 @@ class LerDicionarios(Singleton): | ||
128 | self.dic_sin[row[0].decode('iso8859-1').encode('utf-8').decode('utf-8')] = row[1].decode('iso8859-1').encode('utf-8').decode('utf-8') | 148 | self.dic_sin[row[0].decode('iso8859-1').encode('utf-8').decode('utf-8')] = row[1].decode('iso8859-1').encode('utf-8').decode('utf-8') |
129 | 149 | ||
130 | def carregar_subs_2_generos(self): | 150 | def carregar_subs_2_generos(self): |
151 | + '''Carrega arquivo dos substantivos comuns de 2 generos. | ||
152 | + ''' | ||
131 | try: | 153 | try: |
132 | self.file = csv.reader(open(self.path+"subs2Generos.csv")) | 154 | self.file = csv.reader(open(self.path+"subs2Generos.csv")) |
133 | except IOError, (errno, strerror): | 155 | except IOError, (errno, strerror): |
@@ -140,6 +162,8 @@ class LerDicionarios(Singleton): | @@ -140,6 +162,8 @@ class LerDicionarios(Singleton): | ||
140 | self.set_sb_2_gen = set(rows) | 162 | self.set_sb_2_gen = set(rows) |
141 | 163 | ||
142 | def carregar_verbos_infinitivo(self): | 164 | def carregar_verbos_infinitivo(self): |
165 | + '''Carrega arquivo de verbos no infinitivo. | ||
166 | + ''' | ||
143 | try: | 167 | try: |
144 | self.file = csv.reader(open(self.path+"verbosInfinitivo.csv"), delimiter=";") | 168 | self.file = csv.reader(open(self.path+"verbosInfinitivo.csv"), delimiter=";") |
145 | except IOError, (errno, strerror): | 169 | except IOError, (errno, strerror): |
@@ -154,6 +178,8 @@ class LerDicionarios(Singleton): | @@ -154,6 +178,8 @@ class LerDicionarios(Singleton): | ||
154 | self.dic_vb_infinitivo[row[0].decode('iso8859-1').encode('utf-8').decode('utf-8')] = row[1].decode('iso8859-1').encode('utf-8').decode('utf-8') | 178 | self.dic_vb_infinitivo[row[0].decode('iso8859-1').encode('utf-8').decode('utf-8')] = row[1].decode('iso8859-1').encode('utf-8').decode('utf-8') |
155 | 179 | ||
156 | def carregar_verbos_ligacao(self): | 180 | def carregar_verbos_ligacao(self): |
181 | + '''Carrega arquivo de verbos de ligação. | ||
182 | + ''' | ||
157 | try: | 183 | try: |
158 | self.file = csv.reader(open(self.path+"verbosLigacao.csv")) | 184 | self.file = csv.reader(open(self.path+"verbosLigacao.csv")) |
159 | except IOError, (errno, strerror): | 185 | except IOError, (errno, strerror): |
@@ -165,8 +191,23 @@ class LerDicionarios(Singleton): | @@ -165,8 +191,23 @@ class LerDicionarios(Singleton): | ||
165 | rows.append(row[0].decode("utf-8")) | 191 | rows.append(row[0].decode("utf-8")) |
166 | self.set_vb_ligacao = set(rows) | 192 | self.set_vb_ligacao = set(rows) |
167 | 193 | ||
194 | + def carregar_pronomes_tratamento(self): | ||
195 | + '''Carrega arquivo de pronomes de tratamento. | ||
196 | + ''' | ||
197 | + try: | ||
198 | + self.file = csv.reader(open(self.path+"pronomesTratamento.csv")) | ||
199 | + except IOError, (errno, strerror): | ||
200 | + print "I/O error(%s): %s" % (errno, strerror) | ||
201 | + print "carregar_pronomes_tratamento" | ||
202 | + | ||
203 | + rows = [] | ||
204 | + for row in self.file: | ||
205 | + rows.append(row[0].decode("utf-8")) | ||
206 | + self.set_pron_trat = set(rows) | ||
168 | 207 | ||
169 | def carregar_verbos_muda_negacao(self): | 208 | def carregar_verbos_muda_negacao(self): |
209 | + '''Carrega arquivo de verbos que mudam a negação. | ||
210 | + ''' | ||
170 | try: | 211 | try: |
171 | self.file = csv.reader(open(self.path+"verbosMudaNegacao.csv"), delimiter=";") | 212 | self.file = csv.reader(open(self.path+"verbosMudaNegacao.csv"), delimiter=";") |
172 | except IOError, (errno, strerror): | 213 | except IOError, (errno, strerror): |
@@ -178,43 +219,76 @@ class LerDicionarios(Singleton): | @@ -178,43 +219,76 @@ class LerDicionarios(Singleton): | ||
178 | self.dic_vb_muda_negacao[row[0].decode("utf-8")] = row[1].decode("utf-8") | 219 | self.dic_vb_muda_negacao[row[0].decode("utf-8")] = row[1].decode("utf-8") |
179 | 220 | ||
180 | def has_excecao_plural(self, token): | 221 | def has_excecao_plural(self, token): |
222 | + '''Verifica se o token recebido consta no arquivo de exceções de plural. | ||
223 | + ''' | ||
181 | return token not in self.set_exc_plural | 224 | return token not in self.set_exc_plural |
182 | 225 | ||
183 | def has_adverbio_intensidade(self, token): | 226 | def has_adverbio_intensidade(self, token): |
227 | + '''Verifica se o token recebido consta no arquivo de advérbios de intensidade. | ||
228 | + ''' | ||
184 | return self.dic_adv_intensidade.has_key(token) | 229 | return self.dic_adv_intensidade.has_key(token) |
185 | 230 | ||
186 | def has_adverbio_tempo(self, token): | 231 | def has_adverbio_tempo(self, token): |
232 | + '''Verifica se o token recebido consta no arquivo de advérbios de tempo. | ||
233 | + ''' | ||
187 | return token in self.set_adv_tempo | 234 | return token in self.set_adv_tempo |
188 | 235 | ||
189 | def has_artigo(self, token): | 236 | def has_artigo(self, token): |
237 | + '''Verifica se o token recebido consta no arquivo de artigos a serem removidos. | ||
238 | + ''' | ||
190 | return token in self.set_art | 239 | return token in self.set_art |
191 | 240 | ||
192 | def has_preposicao(self, token): | 241 | def has_preposicao(self, token): |
242 | + '''Verifica se o token recebido consta no arquivo de preposições a serem removidas. | ||
243 | + ''' | ||
193 | return token in self.set_prep | 244 | return token in self.set_prep |
194 | 245 | ||
195 | def has_sinonimo(self, token): | 246 | def has_sinonimo(self, token): |
247 | + '''Verifica se o token recebido consta no arquivo de sinonimos. | ||
248 | + ''' | ||
196 | return self.dic_sin.has_key(token) | 249 | return self.dic_sin.has_key(token) |
197 | 250 | ||
251 | + def has_pron_tratam(self, token): | ||
252 | + '''Verifica se o token recebido consta no arquivo de pronomes de tratamento. | ||
253 | + ''' | ||
254 | + return token in self.set_pron_trat | ||
255 | + | ||
198 | def has_subst_2_generos (self, token): | 256 | def has_subst_2_generos (self, token): |
257 | + '''Verifica se o token recebido consta no arquivo de substantivos comuns de 2 generos. | ||
258 | + ''' | ||
199 | return token in self.set_sb_2_gen | 259 | return token in self.set_sb_2_gen |
200 | 260 | ||
201 | def has_verbo_infinitivo(self, token): | 261 | def has_verbo_infinitivo(self, token): |
262 | + '''Verifica se o token recebido consta no arquivo de verbos no infinitivo. | ||
263 | + ''' | ||
202 | return self.dic_vb_infinitivo.has_key(token) | 264 | return self.dic_vb_infinitivo.has_key(token) |
203 | 265 | ||
204 | def has_verbo_ligacao(self, token): | 266 | def has_verbo_ligacao(self, token): |
267 | + '''Verifica se o token recebido consta no arquivo de verbos de ligação. | ||
268 | + ''' | ||
205 | return token in self.set_vb_ligacao | 269 | return token in self.set_vb_ligacao |
206 | 270 | ||
207 | def has_verbo_muda_negacao(self, token): | 271 | def has_verbo_muda_negacao(self, token): |
272 | + '''Verifica se o token recebido consta no arquivo de verbos que mudam de negação. | ||
273 | + ''' | ||
208 | return self.dic_vb_muda_negacao.has_key(token) | 274 | return self.dic_vb_muda_negacao.has_key(token) |
209 | 275 | ||
210 | def get_adverbio_intensidade(self, token): | 276 | def get_adverbio_intensidade(self, token): |
277 | + '''Verifica se o token recebido consta no arquivo de advérbios de intensidade. | ||
278 | + ''' | ||
211 | return self.dic_adv_intensidade[token] | 279 | return self.dic_adv_intensidade[token] |
212 | 280 | ||
213 | def get_sinonimo(self, token): | 281 | def get_sinonimo(self, token): |
282 | + '''Obtém o sinônimo do token. | ||
283 | + ''' | ||
214 | return self.dic_sin[token] | 284 | return self.dic_sin[token] |
215 | 285 | ||
216 | def get_verbo_infinitivo(self, token): | 286 | def get_verbo_infinitivo(self, token): |
287 | + '''Obtém o verbo no infinitivo do token. | ||
288 | + ''' | ||
217 | return self.dic_vb_infinitivo[token] | 289 | return self.dic_vb_infinitivo[token] |
218 | 290 | ||
219 | def get_verbo_muda_negacao(self, token): | 291 | def get_verbo_muda_negacao(self, token): |
292 | + '''Obtém o verbo que muda a negação do token. | ||
293 | + ''' | ||
220 | return self.dic_vb_muda_negacao[token] | 294 | return self.dic_vb_muda_negacao[token] |
221 | \ No newline at end of file | 295 | \ No newline at end of file |
src/PortGlosa.py
@@ -6,11 +6,14 @@ | @@ -6,11 +6,14 @@ | ||
6 | 6 | ||
7 | #LAViD - Laboratório de Aplicações de Vídeo Digital | 7 | #LAViD - Laboratório de Aplicações de Vídeo Digital |
8 | 8 | ||
9 | +import sys | ||
9 | from ThreadTradutor import * | 10 | from ThreadTradutor import * |
10 | from TraduzSentencas import * | 11 | from TraduzSentencas import * |
12 | +from LerDicionarios import * | ||
11 | 13 | ||
12 | 14 | ||
13 | tradutor = TraduzSentencas() | 15 | tradutor = TraduzSentencas() |
16 | +dicionario = LerDicionarios() | ||
14 | 17 | ||
15 | def traduzir(texto, threads=False): | 18 | def traduzir(texto, threads=False): |
16 | if texto.isspace() or texto == "": | 19 | if texto.isspace() or texto == "": |
@@ -42,20 +45,38 @@ def iniciar_com_threads(texto): | @@ -42,20 +45,38 @@ def iniciar_com_threads(texto): | ||
42 | return None | 45 | return None |
43 | 46 | ||
44 | def iniciar_sem_threads(texto): | 47 | def iniciar_sem_threads(texto): |
45 | - return tradutor.iniciar_traducao(texto) | ||
46 | - | 48 | + texto_quebrado = quebrar_texto(texto) |
49 | + texto_traduzido = [] | ||
50 | + for texto in texto_quebrado: | ||
51 | + glosa = tradutor.iniciar_traducao(texto) | ||
52 | + texto_traduzido.append(glosa) | ||
53 | + return " ".join(texto_traduzido) | ||
54 | + | ||
47 | def quebrar_texto(texto): | 55 | def quebrar_texto(texto): |
48 | - quantidade_pontos = texto.count('. ') | 56 | + if '.' not in texto: |
57 | + return [texto] | ||
58 | + | ||
59 | + texto_quebrado = texto.split() | ||
60 | + tamanho_texto_quebrado = len(texto_quebrado) | ||
49 | sentencas = [] | 61 | sentencas = [] |
50 | - for i in range(quantidade_pontos): | ||
51 | - posicao_ponto = texto.find('.') | ||
52 | - if texto[posicao_ponto+2].isupper(): | ||
53 | - sentencas.append(texto[:posicao_ponto]) | ||
54 | - texto = texto[posicao_ponto+2:] | ||
55 | - if len(texto) > 0: | ||
56 | - sentencas.append(texto) | 62 | + lista_texto = [] |
63 | + for i in range(tamanho_texto_quebrado): | ||
64 | + lista_texto.append(texto_quebrado[i]) | ||
65 | + if '.' in texto_quebrado[i]: | ||
66 | + if not dicionario.has_pron_tratam(texto_quebrado[i].lower()) and i < tamanho_texto_quebrado-1 and texto_quebrado[i+1][0].isupper(): | ||
67 | + sentenca = " ".join(lista_texto)[:-1] | ||
68 | + sentencas.append(sentenca) | ||
69 | + lista_texto = [] | ||
70 | + continue | ||
71 | + if lista_texto: | ||
72 | + sentencas.append( " ".join(lista_texto)) | ||
57 | return sentencas | 73 | return sentencas |
58 | 74 | ||
59 | def ajuda(): | 75 | def ajuda(): |
60 | #TODO: Adicionar um pequeno tuto aqui | 76 | #TODO: Adicionar um pequeno tuto aqui |
61 | - print "Help" | ||
62 | \ No newline at end of file | 77 | \ No newline at end of file |
78 | + print "Help" | ||
79 | + | ||
80 | +if __name__ == '__main__': | ||
81 | + texto = sys.argv[1] | ||
82 | + glosa = traduzir(texto) | ||
83 | + sys.exit(glosa) | ||
63 | \ No newline at end of file | 84 | \ No newline at end of file |
src/ThreadTradutor.py
@@ -10,16 +10,23 @@ from TraduzSentencas import * | @@ -10,16 +10,23 @@ from TraduzSentencas import * | ||
10 | from threading import Thread | 10 | from threading import Thread |
11 | 11 | ||
12 | class ThreadTradutor(Thread): | 12 | class ThreadTradutor(Thread): |
13 | - """Thread responsável por iniciar uma tradução (Opcional)""" | ||
14 | - | 13 | + '''Thread que inicia uma tradução''' |
14 | + | ||
15 | def __init__(self, sentenca): | 15 | def __init__(self, sentenca): |
16 | + ''' Recebe o texto a ser traduzido e o atribui a uma variável. | ||
17 | + Além disso, instancia variável que será armazenada a glosa e a classe responsável pelo processo de tradução. | ||
18 | + ''' | ||
16 | Thread.__init__(self) | 19 | Thread.__init__(self) |
17 | self.sentenca = sentenca | 20 | self.sentenca = sentenca |
18 | self.glosa = "" | 21 | self.glosa = "" |
19 | self.tradutor = TraduzSentencas() | 22 | self.tradutor = TraduzSentencas() |
20 | 23 | ||
21 | def run(self): | 24 | def run(self): |
25 | + ''' Metódo executado ao 'startar' a Thread. É responsável por iniciar a tradução passando o texto como parâmetro. | ||
26 | + ''' | ||
22 | self.glosa = self.tradutor.iniciar_traducao(self.sentenca) | 27 | self.glosa = self.tradutor.iniciar_traducao(self.sentenca) |
23 | 28 | ||
24 | def obter_glosa(self): | 29 | def obter_glosa(self): |
30 | + ''' Obtém a glosa após o processo de tradução. | ||
31 | + ''' | ||
25 | return self.glosa | 32 | return self.glosa |
26 | \ No newline at end of file | 33 | \ No newline at end of file |
src/TraduzSentencas.py
@@ -7,22 +7,25 @@ | @@ -7,22 +7,25 @@ | ||
7 | #LAViD - Laboratório de Aplicações de Vídeo Digital | 7 | #LAViD - Laboratório de Aplicações de Vídeo Digital |
8 | 8 | ||
9 | import alexp | 9 | import alexp |
10 | -from AplicaSinonimos import * | ||
11 | -from AplicaRegras import * | 10 | +from AplicaRegras import * |
12 | import logging | 11 | import logging |
13 | import traceback | 12 | import traceback |
14 | 13 | ||
15 | class TraduzSentencas(object): | 14 | class TraduzSentencas(object): |
16 | - """Realiza a tradução do texto em português para glosa""" | 15 | + '''Realiza a tradução do texto em português para glosa |
16 | + ''' | ||
17 | 17 | ||
18 | def __init__(self): | 18 | def __init__(self): |
19 | - self.aplic_sinonimos = AplicaSinonimos() | 19 | + '''Instancia os aplicadores de regras e sinônimos. |
20 | + ''' | ||
20 | self.aplic_regras = AplicaRegras() | 21 | self.aplic_regras = AplicaRegras() |
21 | logging.basicConfig(filename='translate.log', | 22 | logging.basicConfig(filename='translate.log', |
22 | format='%(asctime)s - %(levelname)s:\n\n%(message)s\n\n\n##############################################\n\n', | 23 | format='%(asctime)s - %(levelname)s:\n\n%(message)s\n\n\n##############################################\n\n', |
23 | level=logging.ERROR) | 24 | level=logging.ERROR) |
24 | 25 | ||
25 | def iniciar_traducao(self, sentenca): | 26 | def iniciar_traducao(self, sentenca): |
27 | + '''Metódo responsável por executar todos componentes necessários para a geração da glosa. | ||
28 | + ''' | ||
26 | try: | 29 | try: |
27 | analise_sintatica = alexp.run(sentenca) | 30 | analise_sintatica = alexp.run(sentenca) |
28 | except Exception as ex: | 31 | except Exception as ex: |
@@ -42,13 +45,14 @@ class TraduzSentencas(object): | @@ -42,13 +45,14 @@ class TraduzSentencas(object): | ||
42 | regras_aplicadas = self.aplic_regras.aplicar_regras_morfo(analise_morfologica) | 45 | regras_aplicadas = self.aplic_regras.aplicar_regras_morfo(analise_morfologica) |
43 | 46 | ||
44 | sentenca_corrigida = self.aplic_regras.simplificar_sentenca(regras_aplicadas) | 47 | sentenca_corrigida = self.aplic_regras.simplificar_sentenca(regras_aplicadas) |
45 | - sinonimos_aplicados = self.aplic_sinonimos.aplicar_sinonimos(sentenca_corrigida) | ||
46 | - sentenca_sem_acentos = self.aplic_regras.remover_acento(sinonimos_aplicados) | 48 | + sentenca_sem_acentos = self.aplic_regras.remover_acento(sentenca_corrigida) |
47 | 49 | ||
48 | if sentenca_sem_acentos: | 50 | if sentenca_sem_acentos: |
49 | return sentenca_sem_acentos.upper().encode('utf-8') | 51 | return sentenca_sem_acentos.upper().encode('utf-8') |
50 | return "TEXTO ERRADO ESCOLHER OUTRO" | 52 | return "TEXTO ERRADO ESCOLHER OUTRO" |
51 | 53 | ||
52 | def salvar_log(self, erro): | 54 | def salvar_log(self, erro): |
55 | + '''Salva traceback de uma excessão do analisador sintático | ||
56 | + ''' | ||
53 | logging.error(erro) | 57 | logging.error(erro) |
54 | 58 | ||
55 | \ No newline at end of file | 59 | \ No newline at end of file |