gatsby-source-notion-churnotion 1.0.91 → 1.0.92
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/dist/onPostBootstrap.js +3 -3
- package/package.json +1 -2
package/dist/onPostBootstrap.js
CHANGED
@@ -8,11 +8,11 @@ const crypto_1 = __importDefault(require("crypto"));
|
|
8
8
|
const natural_1 = require("natural");
|
9
9
|
const constants_1 = require("./constants");
|
10
10
|
const compute_cosine_similarity_1 = __importDefault(require("compute-cosine-similarity"));
|
11
|
-
const
|
12
|
-
const manager = new
|
11
|
+
const node_nlp_1 = require("node-nlp");
|
12
|
+
const manager = new node_nlp_1.NlpManager({ languages: ["ko"] });
|
13
13
|
const getTokens = async (doc) => {
|
14
14
|
const result = await manager.process("ko", doc);
|
15
|
-
return result.tokens.filter((token) => token.length > 1);
|
15
|
+
return result.tokens.filter((token) => token.length > 1);
|
16
16
|
};
|
17
17
|
const vector_similarity_memo = new Map();
|
18
18
|
const md5 = (str) => {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-source-notion-churnotion",
|
3
3
|
"description": "Gatsby plugin that can connect with One Notion Database RECURSIVELY using official API",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.92",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|
@@ -49,7 +49,6 @@
|
|
49
49
|
"natural": "^8.0.1",
|
50
50
|
"node-fetch": "^3.3.2",
|
51
51
|
"node-nlp": "^5.0.0-alpha.4",
|
52
|
-
"node-nlp-typescript": "^1.0.3",
|
53
52
|
"notion-to-md": "^3.1.1",
|
54
53
|
"notion-types": "^7.1.5",
|
55
54
|
"typescript": "^5.7.2"
|