Skip to content

Commit

Permalink
Merge pull request #1 from NLPchina/master
Browse files Browse the repository at this point in the history
merge request
  • Loading branch information
JRed1989 authored Dec 20, 2016
2 parents c3d811f + a2d7ed7 commit 92ab347
Show file tree
Hide file tree
Showing 89 changed files with 99,574 additions and 1,676 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: java

jdk:
- oraclejdk8
- oraclejdk7
- openjdk7

script:
- mvn test
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
nlp-lang
========

[![1.X Build Status](https://travis-ci.org/NLPchina/nlp-lang.svg?branch=master)](https://travis-ci.org/NLPchina/nlp-lang)

文档地址:http://www.nlpcn.org/docs/7
部分演示:http://www.nlpcn.org/demo



##MAVEN

<repositories>
Expand All @@ -18,7 +21,7 @@ nlp-lang
<dependency>
<groupId>org.nlpcn</groupId>
<artifactId>nlp-lang</artifactId>
<version>0.2</version>
<version>1.7</version>
</dependency>
</dependencies>

Expand All @@ -43,7 +46,9 @@ http://maven.nlpcn.org/org/nlpcn/nlp-lang/
* √ 简繁体转换
* √ bloomfilter
* √ 指纹去重
* √ SimHash文章相似度计算
* √ 词共现统计
* √ 基于内存的搜索提示
* √ WordWeight词频统计,词idf统计,词类别相关度统计


251 changes: 145 additions & 106 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,106 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.nlpcn</groupId>
<artifactId>nlp-lang</artifactId>
<packaging>jar</packaging>
<name>nlp-lang</name>
<version>1.0.2</version>
<description>basic TEXT NLP process util ! </description>
<url>https://github.com/ansjsun/ansj_seg</url>


<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:[email protected]:NLPchina/nlp-lang.git</connection>
<developerConnection>scm:git:[email protected]:NLPchina/nlp-lang.git</developerConnection>
<url>http://www.nlpcn.org</url>
</scm>



<developers>
<developer>
<id>ansj</id>
<name>ansj</name>
<email>[email protected]</email>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>


<distributionManagement>
<repository>
<id>mvn-repo</id>
<url>scpexe://ansj/home/mvn-repo/ROOT</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>mvn-repo</id>
<url>http://maven.ansj.org/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>


<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>2.9</version>
</extension>
</extensions>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.nlpcn</groupId>
<artifactId>nlp-lang</artifactId>
<packaging>jar</packaging>
<name>nlp-lang</name>
<version>1.7.2</version>
<description>basic TEXT NLP process util ! </description>
<url>https://github.com/ansjsun/ansj_seg</url>


<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:[email protected]:NLPchina/nlp-lang.git</connection>
<developerConnection>scm:git:[email protected]:NLPchina/nlp-lang.git</developerConnection>
<url>http://www.nlpcn.org</url>
</scm>



<developers>
<developer>
<id>ansj</id>
<name>ansj</name>
<email>[email protected]</email>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.7</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>

<configuration>
<attach>true</attach>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>

<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus release repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>


</project>
Loading

0 comments on commit 92ab347

Please sign in to comment.