gatsby-source-notion-churnotion 1.0.91 → 1.0.92

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 node_nlp_typescript_1 = require("node-nlp-typescript");
12
- const manager = new node_nlp_typescript_1.NlpManager({ languages: ["ko"] }); // 한국어 설정
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); // 길이 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.91",
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"