Comparing version 0.2.8 to 1.0.0
{ | ||
"name": "pat-tree", | ||
"version": "0.2.8", | ||
"version": "1.0.0", | ||
"description": "PAT tree construction for Chinese documents, keyword extraction and text segmentation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
pat-tree | ||
======== | ||
PAT tree construction for Chinese document, now in development. | ||
Provide functionality to add documents and construct PAT tree in memory, store it to database, | ||
extract keywords, and split documents. | ||
PAT tree construction for Chinese document. | ||
Provide functionality to add documents and construct PAT tree in memory, | ||
convert to JSON for storing to database, | ||
extract keywords, and text segmentation. | ||
@@ -15,9 +16,2 @@ example of result: | ||
# WARNING | ||
This project is now in development and used for academic purpose, | ||
**DO NOT** use this module in production until the **WARNING** statement is removed. | ||
//TODO: improve document splitting algorithm | ||
# Installation | ||
@@ -32,3 +26,3 @@ | ||
### Instanitiate | ||
### Instantiate | ||
@@ -50,7 +44,7 @@ ```javascript | ||
var SLPs = tree.extractSLP(TFThreshold, SEThreshold, verbose); | ||
// SLPs: array of strings, which are signifiant lexical patterns. | ||
// SLPs: array of JSON objects, which are signifiant lexical patterns and their relative informations. | ||
``` | ||
If the frequency of a pattern exceeds `TFThreshold`, | ||
and the SE value exceeds `SEThreshold`, it would appear in the result array. | ||
If the frequency of a pattern exceeds `TFThreshold`, it would appear in the result array. | ||
The higher the `SEThreshold`, the stricter to filter out longest substrings of a significant lexical pattern. | ||
@@ -258,2 +252,3 @@ `verbose`: optional, if set to true, then will print out progress on console. | ||
* 1.0.0 Stable release | ||
* 0.2.8 Improve algorithm of `segmentDoc()` | ||
@@ -260,0 +255,0 @@ * 0.2.7 Fix bug in `reborn()` |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
33283
267