This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edit readme & fix clissifer export for script
- Loading branch information
黃柏崴
authored and
黃柏崴
committed
Mar 4, 2016
1 parent
46aa8b8
commit af14b3f
Showing
2 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,31 +3,29 @@ Smart Classifier | |
Smart Classifier is a program that could guess that what you are talking about or area that article is dicussing. | ||
|
||
**P.s Just work on Traditional Chinese (big5).** | ||
|
||
---------- | ||
Installation | ||
=================== | ||
|
||
npm install smartclassifier | ||
|
||
Initialization | ||
=================== | ||
```javascript | ||
Object.init(CkIPServerIPAddress, port, account, password); | ||
|
||
``` | ||
Classify | ||
=================== | ||
|
||
```javascript | ||
var data = [ | ||
{ title: 'title', content: 'content'}, | ||
{ title: 'title', content: 'content'}]; | ||
{ title: 'title', content: 'content you want to classifier'}, | ||
{ title: 'title', content: 'content you want to classifier'}]; | ||
|
||
classifier.classifier(data, function (result) { | ||
console.log(result); | ||
``` | ||
This is the result | ||
|
||
|
||
```javascript | ||
[{ title: 'title', content: 'content' area: '', class:''}, | ||
{ title: 'title', content: 'content' area: '', class:''}] | ||
``` | ||
Library | ||
=================== | ||
|
@@ -39,14 +37,7 @@ Currently, we just have the below libraies, so the smartClassifier just could id | |
License | ||
=================== | ||
The smartclassifier is authorized to Academic use. | ||
|
||
Copyright(c) 2016-2020 Bo-Wei Huang | ||
|
||
MIT License | ||
|
||
If you have any question, please contact me with mail. | ||
|
||
[email protected] | ||
|
||
I'll response you as soon as posible. | ||
The smartclassifier is authorized to Academic use. | ||
Copyright(c) 2016-2020 Bo-Wei Huang | ||
MIT License | ||
National Dong Hwa University |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters