de-compromise 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -14
- package/builds/de-compromise.js +1 -1
- package/builds/de-compromise.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,21 +1,63 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="https://
|
|
3
|
-
<div>
|
|
4
|
-
<
|
|
2
|
+
<img height="15px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
3
|
+
<div><b>de-compromise</b></div>
|
|
4
|
+
<img src="https://user-images.githubusercontent.com/399657/68222691-6597f180-ffb9-11e9-8a32-a7f38aa8bded.png"/>
|
|
5
|
+
<div>bescheidene Computerlinguistik im Browser</div>
|
|
6
|
+
<div><code>npm install de-compromise</code></div>
|
|
7
|
+
<div align="center">
|
|
8
|
+
<sub>
|
|
9
|
+
work-in-progress! • in Arbeit!
|
|
10
|
+
</sub>
|
|
11
|
+
</div>
|
|
12
|
+
<img height="25px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div align="center">
|
|
16
|
+
<div>
|
|
17
|
+
<a href="https://npmjs.org/package/de-compromise">
|
|
5
18
|
<img src="https://img.shields.io/npm/v/de-compromise.svg?style=flat-square" />
|
|
6
19
|
</a>
|
|
7
|
-
<a href="https://
|
|
8
|
-
<img src="https://
|
|
20
|
+
<a href="https://codecov.io/gh/spencermountain/de-compromise">
|
|
21
|
+
<img src="https://codecov.io/gh/spencermountain/de-compromise/branch/master/graph/badge.svg" />
|
|
22
|
+
</a>
|
|
23
|
+
<a href="https://bundlephobia.com/result?p=de-compromise">
|
|
24
|
+
<img src="https://badge-size.herokuapp.com/spencermountain/de-compromise/master/builds/de-compromise.min.js" />
|
|
9
25
|
</a>
|
|
26
|
+
</div>
|
|
10
27
|
</div>
|
|
11
28
|
|
|
12
|
-
|
|
29
|
+
<!-- spacer -->
|
|
30
|
+
<img height="85px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
`de-compromise` (kompromiss) is a port of [compromise](https://github.com/nlp-compromise/compromise) in german.
|
|
13
34
|
|
|
14
35
|
The goal of this project is to provide a small, basic, rule-based POS-tagger.
|
|
36
|
+
|
|
37
|
+
Das Ziel dieses Projekts ist es, einen kleinen, einfachen, regelbasierten POS-Tagger bereitzustellen.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<!-- spacer -->
|
|
41
|
+
<img height="15px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
import ldv from 'de-compromise'
|
|
45
|
+
var dok= ldv('Werden wir Helden für einen Tag.')
|
|
46
|
+
dok.match('#Noun').out('array')
|
|
47
|
+
// [ 'wir', 'Helden', 'Tag.' ]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Bitte beitreten, um zu helfen! - please join to help!
|
|
51
|
+
|
|
52
|
+
<!-- spacer -->
|
|
53
|
+
<img height="85px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
54
|
+
|
|
15
55
|
<h2 align="center">
|
|
16
|
-
<a href="https://rawgit.com/nlp-compromise/de-compromise/master/demo/
|
|
56
|
+
<a href="https://rawgit.com/nlp-compromise/de-compromise/master/demo/index.html">Demo</a>
|
|
17
57
|
</h2>
|
|
18
58
|
|
|
59
|
+
|
|
60
|
+
### Beitragen / Contributing
|
|
19
61
|
```
|
|
20
62
|
git clone https://github.com/nlp-compromise/de-compromise.git
|
|
21
63
|
cd de-compromise
|
|
@@ -24,14 +66,9 @@ npm test
|
|
|
24
66
|
npm watch
|
|
25
67
|
```
|
|
26
68
|
|
|
27
|
-
```js
|
|
28
|
-
import ldv from 'de-compromise'
|
|
29
|
-
var dok= ldv('Werden wir Helden für einen Tag.')
|
|
30
|
-
dok.match('#Noun').out('array')
|
|
31
|
-
// [ 'wir', 'Helden', 'Tag.' ]
|
|
32
|
-
```
|
|
33
69
|
|
|
34
|
-
|
|
70
|
+
<!-- spacer -->
|
|
71
|
+
<img height="15px" src="https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png"/>
|
|
35
72
|
|
|
36
73
|
<table>
|
|
37
74
|
<tr align="center">
|
|
@@ -49,3 +86,5 @@ please join to help! - Bitte beitreten, um zu helfen!
|
|
|
49
86
|
</td>
|
|
50
87
|
</tr>
|
|
51
88
|
</table>
|
|
89
|
+
|
|
90
|
+
MIT
|