Java commons for NLP and others
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

The Common is a project focused on various aspects of resuable Java components. Its principal goal is to try new things! Therefore, if I find a good thrid-party package that can fulfill the same function, I would rather reuse it, unless I feel interested to know how they work.

The Common is written in Java and licensed under the BSD 3-clause license. Note that you can use it anywhere, except in your homework :P.

I welcome participation from all that are interested, at all skill levels. Coding, documentation and testing are all critical parts of the softeware development process. If you are interested in participating in any of these aspects, please join me!

The Common includes but not limited to the following components

  1. Collections: extends the Java collections
    1. Most efficient way to increment a Map value in Java — Only search the key once
    2. Yet another Java tree structure
    3. Fibonacci Heap
  2. IO: collection of I/O utilities
  3. Lang: extra functionality for classes in java.lang
    1. Indent/Hanging indent a paragraph
  4. Ling: functionality for natural language processing
  5. Brat standoff format
    Brat format is widely used in the BioNLP Shared Task 2009, 2011, and 2013. One of its advantages is that annotations are stored separately from the annotated document text. Common includes fully supports of the Brat format, including reading/writing/searching text and annotation files (entity, relation, event, modification, normalization, and note). For more details about the Brat format, please visit the link
  6. Math: Common classes used throughout the math library.

Getting started

The latest release is 0.1.0-SNAPSHOT.

It is available in Maven Central as com.pengyifan:pengyifan-commons:jar:0.1.0-SNAPSHOT


Copyright (c) 2015 by Yifan Peng. All Rights Reserved.