Comparing version 2.4.0 to 2.4.1
# NodeJieba ChangeLog | ||
## v2.4.1 | ||
+ upgrade deps/limonp -> v0.6.3 | ||
+ upgrade deps/cppjieba -> v5.0.3 | ||
+ merged [pull request 148](https://github.com/yanyiwu/nodejieba/pull/148) | ||
## v2.4.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "nodejieba", | ||
"description": "chinese word segmentation for node", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"author": "Yanyi Wu <i@yanyiwu.com>", | ||
@@ -6,0 +6,0 @@ "maintainers": [ |
declare module "nodejieba" { | ||
export function load(dict: object): void; | ||
export function cut(sentence: string, strict?: boolean): any; | ||
export function cutHMM(sentence: string): any; | ||
export function cutAll(sentence: string): any; | ||
export function cutForSearch(sentence: string, strict?: boolean): any; | ||
export function tag(sentence: string): any; | ||
export function extract(sentence: string, threshold: number): any; | ||
export function insertWord(sentence: string): any; | ||
export function cutSmall(sentence: string, small: number): any; | ||
export interface LoadOptions { | ||
dict?: string; | ||
hmmDict?: string; | ||
userDict?: string; | ||
idfDict?: string; | ||
stopWordDict?: string; | ||
} | ||
export interface TagResult { | ||
word: string; | ||
tag: string; | ||
} | ||
export interface ExtractResult { | ||
word: string; | ||
weight: number; | ||
} | ||
export function load(dict?: LoadOptions): void; | ||
export function cut(sentence: string, strict?: boolean): string[]; | ||
export function cutHMM(sentence: string): string[]; | ||
export function cutAll(sentence: string): string[]; | ||
export function cutForSearch(sentence: string, strict?: boolean): string[]; | ||
export function tag(sentence: string): TagResult[]; | ||
export function extract(sentence: string, threshold: number): ExtractResult[]; | ||
export function insertWord(sentence: string): boolean; | ||
export function cutSmall(sentence: string, small: number): boolean; | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11753649
516