FudanNLP / fnlp

中文自然语言处理工具包 Toolkit for Chinese natural language processing
GNU Lesser General Public License v3.0
2.65k stars 724 forks source link

some changes #32

Open jing-zhou opened 8 years ago

jing-zhou commented 8 years ago

upgrade to java 8

add maven plugin (synergian-repo, wagon-git) so that the fnlp-core package can be released as a jar package from the github

on the client side, the fnlp-core can be incorporated into an application as a dependency in the POM (see below example )

    <dependency>
        <groupId>org.fnlp</groupId>
        <artifactId>fnlp-core</artifactId>
        <version>2.1-SNAPSHOT-gubnoi-v4</version>
    </dependency>
   <scm>
           <connection>scm:git:git@github.com:jing-zhou/fnlp.git</connection>
          <developerConnection>scm:git:git@github.com:jing-zhou/fnlp.git</developerConnection>
          <url>scm:git:git@github.com:jing-zhou/fnlp.git</url>
  </scm>

pack the models directory into the fnlp-core package for easy management

change the Linea.java and AbstractTagger to correct the error "file or directory not found exception" while load models from within the jar