Skip to content

Commit

Permalink
Merge pull request #9 from kwonoj/chore-release
Browse files Browse the repository at this point in the history
chore(release): release 0.0.1
  • Loading branch information
kwonoj authored Aug 27, 2017
2 parents d513a78 + 1d4fd58 commit 8a9a406
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ src/
test/
!dist/src
examples/
symbols/
.travis.yml
appveyor.yml
jest-cld.json
jest-cld-asm.json
tsconfg.json
tslint.json
wallaby.js
dist/src/lib/README.md
dist/src/lib/README.md
commitlint.config.js
tsconfig.json
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<a name="0.0.1"></a>
## 0.0.1 (2017-08-27)


### Bug Fixes

* **findmostfrequentlanguages:** update type definition ([ecdf032](https://github.com/kwonoj/cld3-asm/commit/ecdf032))
* **findmostfrequentlanguages:** utf8 encode input ([b7c0b48](https://github.com/kwonoj/cld3-asm/commit/b7c0b48))


### Features

* **cld3:** add initial cld3 binaries ([3825273](https://github.com/kwonoj/cld3-asm/commit/3825273))
* **cld3:** bump up cld3 ([398eb97](https://github.com/kwonoj/cld3-asm/commit/398eb97))
* **cldasmmodule:** export asm module interfaces ([9c2f119](https://github.com/kwonoj/cld3-asm/commit/9c2f119))
* **cldfactory:** export cldfactory interfaces ([bb4e308](https://github.com/kwonoj/cld3-asm/commit/bb4e308))
* **cldloader:** implement cldloader ([c1b061c](https://github.com/kwonoj/cld3-asm/commit/c1b061c))
* **index:** export loadModule ([3435c69](https://github.com/kwonoj/cld3-asm/commit/3435c69))
* **index:** setup index export ([ea05fe5](https://github.com/kwonoj/cld3-asm/commit/ea05fe5))
* **loadmodule:** implement loadmodule ([1ead2ec](https://github.com/kwonoj/cld3-asm/commit/1ead2ec))
* **util:** add utility implementation ([cca4c79](https://github.com/kwonoj/cld3-asm/commit/cca4c79))



4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ create(minBytes?: number, maxBytes?: number): LanguageIdentifier

`LanguageIdentifier` exposes minimal interfaces to cld3's `NNetLanguageIdentifier`.

- `findLanguage: (text: string): Readonly<LanguageResult>` : Finds the most likely language for the given text.
- `findLanguage(text: string): Readonly<LanguageResult>` : Finds the most likely language for the given text.
- `findMostFrequentLanguages(text: string, numLangs: number): Array<Readonly<LanguageResult>>` : Splits the input text into spans based on the script, predicts a language for each span, and returns a vector storing the top num_langs most frequent languages
- `dispose(): void` : Destroy current instance of language identifier. It is important to note created instance will not be destroyed automatically.

There are simple [examples]() for each environments using different apis. In each example directory do `npm install && npm start`.
There are simple [examples](https://github.com/kwonoj/cld3-asm/tree/master/examples) for each environments. In each example directory do `npm install && npm start`.

# Building / Testing

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
},
"scripts": {
"prepublish": "npm prune && npm run build",
"prepublishOnly": "npm-run-all build test",
"precommit": "lint-staged",
"prepush": "npm-run-all build test",
"commitmsg": "commitlint -e",
Expand All @@ -30,7 +30,7 @@
"test": "npm-run-all test:*",
"lint": "tslint --type-check -c tslint.json -p tsconfig.json \"src/**/*.ts\" \"spec/**/*.ts\"",
"lint:staged": "lint-staged",
"build": "npm-run-all build:clean && tsc",
"build": "shx rm -rf ./dist && tsc && shx cp -r ./src/lib ./dist/src",
"build:clean": "shx rm -rf ./dist",
"commit": "git-cz -S",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
Expand Down

0 comments on commit 8a9a406

Please sign in to comment.