nlptoolkit-postagger 1.0.1 → 1.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 CHANGED
@@ -12,7 +12,7 @@ For Developers
12
12
  ============
13
13
 
14
14
  You can also see [Python](https://github.com/starlangsoftware/EnglishPosTagger-Py), [Cython](https://github.com/starlangsoftware/EnglishPosTagger-Cy),
15
- [C++](https://github.com/starlangsoftware/EnglishPosTagger-CPP), [Swift](https://github.com/starlangsoftware/EnglishPosTagger-Swift),
15
+ [C++](https://github.com/starlangsoftware/EnglishPosTagger-CPP), [C](https://github.com/starlangsoftware/EnglishPosTagger-C), [Swift](https://github.com/starlangsoftware/EnglishPosTagger-Swift),
16
16
  [Java](https://github.com/starlangsoftware/EnglishPosTagger), or [C#](https://github.com/starlangsoftware/EnglishPosTagger-CS) repository.
17
17
 
18
18
  ## Requirements
@@ -0,0 +1,6 @@
1
+ export * from "./DummyPosTagger";
2
+ export * from "./HmmPosTagger";
3
+ export * from "./NaivePosTagger";
4
+ export * from "./PosTaggedCorpus";
5
+ export * from "./PosTaggedWord";
6
+ export * from "./PosTagger";
package/dist/index.js ADDED
@@ -0,0 +1,29 @@
1
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
+ if (k2 === undefined) k2 = k;
3
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ }) : (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ o[k2] = m[k];
7
+ }));
8
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
9
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
10
+ };
11
+ (function (factory) {
12
+ if (typeof module === "object" && typeof module.exports === "object") {
13
+ var v = factory(require, exports);
14
+ if (v !== undefined) module.exports = v;
15
+ }
16
+ else if (typeof define === "function" && define.amd) {
17
+ define(["require", "exports", "./DummyPosTagger", "./HmmPosTagger", "./NaivePosTagger", "./PosTaggedCorpus", "./PosTaggedWord", "./PosTagger"], factory);
18
+ }
19
+ })(function (require, exports) {
20
+ "use strict";
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ __exportStar(require("./DummyPosTagger"), exports);
23
+ __exportStar(require("./HmmPosTagger"), exports);
24
+ __exportStar(require("./NaivePosTagger"), exports);
25
+ __exportStar(require("./PosTaggedCorpus"), exports);
26
+ __exportStar(require("./PosTaggedWord"), exports);
27
+ __exportStar(require("./PosTagger"), exports);
28
+ });
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAAA,mDAAgC;IAChC,iDAA8B;IAC9B,mDAAgC;IAChC,oDAAiC;IACjC,kDAA+B;IAC/B,8CAA2B"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nlptoolkit-postagger",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
- "main": "index.js",
6
- "types": "index.js",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "Mocha"
9
9
  },
@@ -24,10 +24,10 @@
24
24
  "typescript": "^4.5.2"
25
25
  },
26
26
  "dependencies": {
27
- "nlptoolkit-corpus": "^1.0.9",
28
- "nlptoolkit-datastructure": "^1.0.4",
29
- "nlptoolkit-dictionary": "^1.0.9",
30
- "nlptoolkit-hmm": "^1.0.1",
31
- "nlptoolkit-math": "^1.0.2"
27
+ "nlptoolkit-corpus": "^1.0.11",
28
+ "nlptoolkit-datastructure": "^1.0.8",
29
+ "nlptoolkit-dictionary": "^1.0.13",
30
+ "nlptoolkit-hmm": "^1.0.2",
31
+ "nlptoolkit-math": "^1.0.5"
32
32
  }
33
33
  }
@@ -0,0 +1,6 @@
1
+ export * from "./DummyPosTagger"
2
+ export * from "./HmmPosTagger"
3
+ export * from "./NaivePosTagger"
4
+ export * from "./PosTaggedCorpus"
5
+ export * from "./PosTaggedWord"
6
+ export * from "./PosTagger"
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "outDir": "../dist",
4
4
  "module": "umd",
5
- "target": "es6",
5
+ "target": "es2018",
6
6
  "sourceMap": true,
7
7
  "noImplicitAny": true,
8
8
  "strictNullChecks": false,
package/tsconfig.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "module": "commonjs",
4
- "target": "es5",
4
+ "target": "es2018",
5
5
  "sourceMap": true,
6
6
  "noImplicitAny": true,
7
7
  "removeComments": false,
8
8
  "moduleResolution": "node"
9
9
  },
10
10
  "exclude": [
11
- "source",
12
11
  "node_modules",
13
12
  "dist"
14
13
  ]
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- export * from "./dist/DummyPosTagger"
2
- export * from "./dist/HmmPosTagger"
3
- export * from "./dist/NaivePosTagger"
4
- export * from "./dist/PosTaggedCorpus"
5
- export * from "./dist/PosTaggedWord"
6
- export * from "./dist/PosTagger"