Skip to content

Commit 9b8fbb3

Browse files
committed
Update README
1 parent f8364e7 commit 9b8fbb3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
日本語技術書のコーパス。
44

55
日本語の再配布が可能な技術書を集めたものです。
6+
商用利用できないライセンスを含みます。
67

78
## 収集対象
89

@@ -15,6 +16,18 @@
1516

1617
- 校正が十分に行われているかどうか(校正済みの文書を収集するものではない)
1718

19+
## 利用目的
20+
21+
- [textlint](https://github.com/textlint/textlint "textlint")ルールのテストのfixtureとして
22+
23+
例) コーパスに含まれている文章に対してtextlintでチェックしていとしない結果がないかを確かめる
24+
25+
```sh
26+
npm i -g textlint technological-book-corpus-ja
27+
# 試したいルールをlib/において試す
28+
technological-book-corpus-ja | xargs textlint --rulesdir lib/ -f pretty-error
29+
```
30+
1831
## Install
1932

2033
Install with [npm](https://www.npmjs.com/):

0 commit comments

Comments
 (0)