PennTreebankReader is a piece of java codes to read parsing trees of Penn Treebank bracketing format. It is written without using any third-party packages. DefaultMultableTreeNode and DefaultTreeModel in javax.swing.tree are used for tree container.
Two templates are provided. I used version 1 three years ago, but currently I am using version 3, mainly because it follows basic design principles, like fonts, aligement, and structure. It is neat, simple, but no simpler.
This model is trained on Gennia corpus (1279685-9817603). The pre-trained model is for the OpenNLP 1.5 series. The model is language dependent and only perform well if the model language matches the language of the input text. The model is zip compressed (like a jar file), they must not be uncompressed.
This package will not be maintained because I tend to use Tikz to draw trees.
This package contains definitions of UD colors (yellow and blue) and UD logo. It also contains some smart charts that I think will be useful in slides.
${project_name} ${file_name}
Copyright (c) ${year}, ${owner}
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ${owner} BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.s