Skip to content

Commit

Permalink
发布v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chuangfengwang committed Aug 24, 2022
1 parent 3b829b3 commit b9a305a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions doc/需求描述.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
### 开发时的路径

```bash
java -jar target/nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -r data/filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3 data/lz-data/shentiyundongxunlian.txt data/lz-data/tushouxunlian.txt data/lz-data/yujia.txt
java -jar target/nlp-parser-1.0.0-jar-with-dependencies.jar -r data/filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3 data/lz-data/shentiyundongxunlian.txt data/lz-data/tushouxunlian.txt data/lz-data/yujia.txt
```

### linux / mac

```bash
java -jar nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -r data/filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3 data/lz-data/shentiyundongxunlian.txt data/lz-data/tushouxunlian.txt data/lz-data/yujia.txt
java -jar nlp-parser-1.0.0-jar-with-dependencies.jar -r data/filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3 data/lz-data/shentiyundongxunlian.txt data/lz-data/tushouxunlian.txt data/lz-data/yujia.txt
```

### windows
Expand All @@ -39,7 +39,7 @@ java -jar nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -r data/filterRegex.
D:
cd xxx\\yyy
# 进行依存句法分析,并把结果存到数据库 nlpparsed.sqlite3
java -jar nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -r filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3
java -jar nlp-parser-1.0.0-jar-with-dependencies.jar -r filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3
data\\lz-data\\shentiyundongxunlian.txt data\\lz-data\\tushouxunlian.txt data\\lz-data\\yujia.txt
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.example</groupId>
<artifactId>nlp-parser</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
│ ├── model
│ ├── README.url
│ └── version.txt
└── nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar
└── nlp-parser-1.0.0-jar-with-dependencies.jar
```

- 运行命令以生成依存关系数据

```bash
xxx@xxx:~$ java -jar nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar --help
xxx@xxx:~$ java -jar nlp-parser-1.0.0-jar-with-dependencies.jar --help
usage: 用法: java -jar <this_file>.jar <options> files...
模型文件需要放在 ./hanlp-data/
-c,--conll <conllFile> 中间结果coNLL文件输出路径. 默认: ./conll_output.txt
Expand All @@ -36,7 +36,7 @@ usage: 用法: java -jar <this_file>.jar <options> files...
如:

```bash
java -jar nlp-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -r filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3
java -jar nlp-parser-1.0.0-jar-with-dependencies.jar -r filterRegex.txt -c conll_output.txt -d nlpparsed.sqlite3
data/shentiyundongxunlian.txt data/tushouxunlian.txt data/yujia.txt
```

Expand Down

0 comments on commit b9a305a

Please sign in to comment.