@world-engines/project-host 0.1.0-alpha.0
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/LICENSE +46 -0
- package/assets/gui/WELogo-title.svg +11 -0
- package/assets/gui/app.js +1326 -0
- package/assets/gui/index.html +118 -0
- package/assets/gui/local-preview-asset-urls.js +61 -0
- package/assets/gui/local-preview-bridge.js +393 -0
- package/assets/gui/spatial-template-panel.js +233 -0
- package/assets/gui/styles.css +115 -0
- package/assets/gui/terrain-render.js +120 -0
- package/assets/gui/workspace-status.css +17 -0
- package/assets/gui/workspace-status.js +255 -0
- package/assets/gui/world-map-globe.js +187 -0
- package/assets/gui/world-map-worker.js +62 -0
- package/assets/gui/world-map.css +30 -0
- package/assets/gui/world-map.js +2466 -0
- package/dist/account-model-proxy.d.ts +21 -0
- package/dist/account-model-proxy.js +470 -0
- package/dist/authoring-browser-runtime.d.ts +7 -0
- package/dist/authoring-browser-runtime.js +110 -0
- package/dist/authoring-ingestion.d.ts +38 -0
- package/dist/authoring-ingestion.js +410 -0
- package/dist/authoring-model-connection.d.ts +166 -0
- package/dist/authoring-model-connection.js +757 -0
- package/dist/chinese-lexical.d.ts +152 -0
- package/dist/chinese-lexical.js +555 -0
- package/dist/chromium-preview-browser-driver.d.ts +43 -0
- package/dist/chromium-preview-browser-driver.js +575 -0
- package/dist/cli/download.d.ts +12 -0
- package/dist/cli/download.js +50 -0
- package/dist/cli/dump.d.ts +32 -0
- package/dist/cli/dump.js +91 -0
- package/dist/cli/ingest.d.ts +49 -0
- package/dist/cli/ingest.js +225 -0
- package/dist/cli/review.d.ts +10 -0
- package/dist/cli/review.js +44 -0
- package/dist/cli/upload.d.ts +57 -0
- package/dist/cli/upload.js +112 -0
- package/dist/cli-command.d.ts +60 -0
- package/dist/cli-command.js +613 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +182 -0
- package/dist/desktop-authoring-runtime.d.ts +88 -0
- package/dist/desktop-authoring-runtime.js +1602 -0
- package/dist/desktop-sidecar.d.ts +11 -0
- package/dist/desktop-sidecar.js +143 -0
- package/dist/document-dump.d.ts +113 -0
- package/dist/document-dump.js +431 -0
- package/dist/document-graph-extractor.d.ts +125 -0
- package/dist/document-graph-extractor.js +588 -0
- package/dist/document-ingestion-journal.d.ts +68 -0
- package/dist/document-ingestion-journal.js +471 -0
- package/dist/document-ingestion.d.ts +183 -0
- package/dist/document-ingestion.js +976 -0
- package/dist/document-query-path-proof.d.ts +30 -0
- package/dist/document-query-path-proof.js +34 -0
- package/dist/document-query-path-renderer.d.ts +50 -0
- package/dist/document-query-path-renderer.js +75 -0
- package/dist/document-query-proof-paths.d.ts +22 -0
- package/dist/document-query-proof-paths.js +71 -0
- package/dist/document-query.d.ts +97 -0
- package/dist/document-query.js +1106 -0
- package/dist/document-relation-role.d.ts +14 -0
- package/dist/document-relation-role.js +86 -0
- package/dist/document-source.d.ts +107 -0
- package/dist/document-source.js +255 -0
- package/dist/embedding-cache.d.ts +35 -0
- package/dist/embedding-cache.js +317 -0
- package/dist/frozen-review-local-pipeline.d.ts +88 -0
- package/dist/frozen-review-local-pipeline.js +609 -0
- package/dist/frozen-review-source-capture.d.ts +15 -0
- package/dist/frozen-review-source-capture.js +551 -0
- package/dist/frozen-review-wasm-encryptor.d.ts +16 -0
- package/dist/frozen-review-wasm-encryptor.js +72 -0
- package/dist/frozen-review.d.ts +131 -0
- package/dist/frozen-review.js +802 -0
- package/dist/graph-traversal.d.ts +23 -0
- package/dist/graph-traversal.js +100 -0
- package/dist/gui/graph-layout-worker.js +1 -0
- package/dist/gui/graph-layout.wasm +0 -0
- package/dist/gui/graph.css +1 -0
- package/dist/gui/graph.js +76 -0
- package/dist/gui/plane-generation.js +112 -0
- package/dist/gui/plane-generator.js +310 -0
- package/dist/gui/plane-generator_bg.wasm +0 -0
- package/dist/gui/procedural-city.js +595 -0
- package/dist/gui/road-generation.js +129 -0
- package/dist/gui/road-parcels.js +1584 -0
- package/dist/gui/score.css +1 -0
- package/dist/gui/score.js +54 -0
- package/dist/gui/spatial-runtime.js +1231 -0
- package/dist/gui/spatial-templates.js +200 -0
- package/dist/gui/trigger.css +1 -0
- package/dist/gui/trigger.js +142 -0
- package/dist/harness-callback-transport.d.ts +17 -0
- package/dist/harness-callback-transport.js +128 -0
- package/dist/harness-document-ingestion.d.ts +77 -0
- package/dist/harness-document-ingestion.js +343 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +43 -0
- package/dist/ingestion-source-reconciliation.d.ts +88 -0
- package/dist/ingestion-source-reconciliation.js +253 -0
- package/dist/ladybug-runtime.d.ts +117 -0
- package/dist/ladybug-runtime.js +886 -0
- package/dist/local-account-embedding.d.ts +34 -0
- package/dist/local-account-embedding.js +294 -0
- package/dist/local-gallery.d.ts +35 -0
- package/dist/local-gallery.js +227 -0
- package/dist/local-gui-auth.d.ts +96 -0
- package/dist/local-gui-auth.js +703 -0
- package/dist/local-gui-contract.d.ts +53 -0
- package/dist/local-gui-contract.js +5 -0
- package/dist/local-gui-image-assets.d.ts +17 -0
- package/dist/local-gui-image-assets.js +96 -0
- package/dist/local-gui-preview-client.d.ts +3 -0
- package/dist/local-gui-preview-client.js +111 -0
- package/dist/local-gui-score.d.ts +72 -0
- package/dist/local-gui-score.js +184 -0
- package/dist/local-gui-server.d.ts +10 -0
- package/dist/local-gui-server.js +987 -0
- package/dist/local-gui-version.d.ts +17 -0
- package/dist/local-gui-version.js +147 -0
- package/dist/local-gui-workspace.d.ts +14 -0
- package/dist/local-gui-workspace.js +171 -0
- package/dist/local-model-settings.d.ts +28 -0
- package/dist/local-model-settings.js +124 -0
- package/dist/local-preview-assets.d.ts +28 -0
- package/dist/local-preview-assets.js +124 -0
- package/dist/local-preview-bound-resources.d.ts +12 -0
- package/dist/local-preview-bound-resources.js +80 -0
- package/dist/local-preview-message-store.d.ts +63 -0
- package/dist/local-preview-message-store.js +214 -0
- package/dist/local-preview-player-read-models.d.ts +47 -0
- package/dist/local-preview-player-read-models.js +90 -0
- package/dist/local-preview-projections.d.ts +61 -0
- package/dist/local-preview-projections.js +117 -0
- package/dist/local-preview-runtime.d.ts +105 -0
- package/dist/local-preview-runtime.js +553 -0
- package/dist/local-preview-session.d.ts +73 -0
- package/dist/local-preview-session.js +395 -0
- package/dist/local-preview-source.d.ts +40 -0
- package/dist/local-preview-source.js +192 -0
- package/dist/local-preview-view-events.d.ts +101 -0
- package/dist/local-preview-view-events.js +179 -0
- package/dist/local-preview-view-state-sqlite.d.ts +24 -0
- package/dist/local-preview-view-state-sqlite.js +263 -0
- package/dist/local-preview-view-state.d.ts +93 -0
- package/dist/local-preview-view-state.js +108 -0
- package/dist/local-preview-vite-config.d.ts +6 -0
- package/dist/local-preview-vite-config.js +122 -0
- package/dist/local-preview-world-effects.d.ts +9 -0
- package/dist/local-preview-world-effects.js +55 -0
- package/dist/local-preview-worldline-store.d.ts +47 -0
- package/dist/local-preview-worldline-store.js +282 -0
- package/dist/local-preview-worldlines.d.ts +95 -0
- package/dist/local-preview-worldlines.js +136 -0
- package/dist/mcp-async-dispatcher.d.ts +3 -0
- package/dist/mcp-async-dispatcher.js +129 -0
- package/dist/mcp-line-queue.d.ts +14 -0
- package/dist/mcp-line-queue.js +184 -0
- package/dist/mcp-pipe-internal.d.ts +6 -0
- package/dist/mcp-pipe-internal.js +151 -0
- package/dist/mcp-pipe-response.d.ts +14 -0
- package/dist/mcp-pipe-response.js +50 -0
- package/dist/mcp-stdio-response.d.ts +12 -0
- package/dist/mcp-stdio-response.js +27 -0
- package/dist/mcp.d.ts +27 -0
- package/dist/mcp.js +194 -0
- package/dist/prepared-embedding-cache.d.ts +38 -0
- package/dist/prepared-embedding-cache.js +238 -0
- package/dist/preview-browser-adapter.d.ts +53 -0
- package/dist/preview-browser-adapter.js +171 -0
- package/dist/preview-runtime.d.ts +67 -0
- package/dist/preview-runtime.js +460 -0
- package/dist/project-auth-transport.d.ts +27 -0
- package/dist/project-auth-transport.js +121 -0
- package/dist/project-auth.d.ts +51 -0
- package/dist/project-auth.js +108 -0
- package/dist/project-git-capture-recovery.d.ts +16 -0
- package/dist/project-git-capture-recovery.js +347 -0
- package/dist/project-git-cli.d.ts +5 -0
- package/dist/project-git-cli.js +40 -0
- package/dist/project-git-scenario-source.d.ts +10 -0
- package/dist/project-git-scenario-source.js +240 -0
- package/dist/project-git-view-source.d.ts +13 -0
- package/dist/project-git-view-source.js +134 -0
- package/dist/project-git.d.ts +97 -0
- package/dist/project-git.js +656 -0
- package/dist/project-host.d.ts +59 -0
- package/dist/project-host.js +471 -0
- package/dist/project-writer-lease.d.ts +18 -0
- package/dist/project-writer-lease.js +430 -0
- package/dist/public-error.d.ts +7 -0
- package/dist/public-error.js +61 -0
- package/dist/retrieval-benchmark.d.ts +46 -0
- package/dist/retrieval-benchmark.js +58 -0
- package/dist/safe-project-path.d.ts +8 -0
- package/dist/safe-project-path.js +93 -0
- package/dist/scenario-writer.d.ts +32 -0
- package/dist/scenario-writer.js +191 -0
- package/dist/transfer/download.d.ts +159 -0
- package/dist/transfer/download.js +598 -0
- package/dist/transfer/transport.d.ts +26 -0
- package/dist/transfer/transport.js +1 -0
- package/dist/transfer/upload.d.ts +162 -0
- package/dist/transfer/upload.js +354 -0
- package/dist/transfer-types.d.ts +95 -0
- package/dist/transfer-types.js +1 -0
- package/dist/transfer.d.ts +18 -0
- package/dist/transfer.js +273 -0
- package/dist/trigger-runtime.d.ts +121 -0
- package/dist/trigger-runtime.js +153 -0
- package/dist/vendor/wasm-core/asset-hashes.json +5 -0
- package/dist/vendor/wasm-core/wasm_core.d.ts +490 -0
- package/dist/vendor/wasm-core/wasm_core.js +1 -0
- package/dist/vendor/wasm-core/wasm_core_bg.wasm +0 -0
- package/dist/view-watcher.d.ts +9 -0
- package/dist/view-watcher.js +34 -0
- package/package.json +110 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export declare const LEGACY_CHINESE_LEXICAL_PROFILE_VERSION: "chinese-lexical/v1";
|
|
2
|
+
export declare const LEGACY_CHINESE_LEXICAL_PROFILE_V2_VERSION: "chinese-lexical/v2";
|
|
3
|
+
export declare const LEGACY_CHINESE_LEXICAL_PROFILE_V3_VERSION: "chinese-lexical/v3";
|
|
4
|
+
export declare const CHINESE_LEXICAL_PROFILE_VERSION: "chinese-lexical/v4";
|
|
5
|
+
declare const LEGACY_CHINESE_LEXICAL_STRATEGY_V2_VERSION: "icu-word+han-bigram+entity-overlay/v1";
|
|
6
|
+
declare const LEGACY_CHINESE_LEXICAL_STRATEGY_V3_VERSION: "icu-word+in-word-han-bigram+entity-overlay/v2";
|
|
7
|
+
declare const CHINESE_LEXICAL_STRATEGY_VERSION: "icu-word+in-word-han-bigram+entity-overlay-bigram/v3";
|
|
8
|
+
declare const OPENCC_VERSION: "1.4.2";
|
|
9
|
+
declare const OPENCC_DICTIONARY_IDENTITY: "opencc-js/t2cn@1.4.2:t-to-cn";
|
|
10
|
+
export type ChineseLexicalErrorCode = "invalid_input" | "resource_limit" | "profile_invalid";
|
|
11
|
+
export declare class ChineseLexicalError extends Error {
|
|
12
|
+
readonly code: ChineseLexicalErrorCode;
|
|
13
|
+
readonly name = "ChineseLexicalError";
|
|
14
|
+
constructor(code: ChineseLexicalErrorCode);
|
|
15
|
+
}
|
|
16
|
+
export interface LegacyChineseLexicalRuntimeIdentityV1 {
|
|
17
|
+
readonly engine: "Intl.Segmenter";
|
|
18
|
+
readonly locale: string;
|
|
19
|
+
readonly granularity: "word";
|
|
20
|
+
readonly node: string;
|
|
21
|
+
readonly icu: string;
|
|
22
|
+
readonly unicode: string;
|
|
23
|
+
readonly cldr: string;
|
|
24
|
+
}
|
|
25
|
+
export interface LegacyChineseLexicalIndexProfileV1 {
|
|
26
|
+
readonly schemaVersion: 1;
|
|
27
|
+
readonly version: typeof LEGACY_CHINESE_LEXICAL_PROFILE_VERSION;
|
|
28
|
+
readonly runtimeIdentity: LegacyChineseLexicalRuntimeIdentityV1;
|
|
29
|
+
/** 原始 source texts 的顺序无关 multiset hash;不对正文做 trim/NFC/简繁转换。 */
|
|
30
|
+
readonly corpusHash: string;
|
|
31
|
+
readonly entityLexiconHash: string;
|
|
32
|
+
readonly profileHash: string;
|
|
33
|
+
/** UTF-16 code unit 数,用于显式约束 profile 的构建成本。 */
|
|
34
|
+
readonly sourceCodeUnits: number;
|
|
35
|
+
readonly dictionary: readonly string[];
|
|
36
|
+
readonly dictionaryStats: Readonly<{
|
|
37
|
+
corpusTerms: number;
|
|
38
|
+
entityLexiconTerms: number;
|
|
39
|
+
totalTerms: number;
|
|
40
|
+
}>;
|
|
41
|
+
readonly limits: Readonly<{
|
|
42
|
+
minCorpusTermFrequency: 2;
|
|
43
|
+
minHanTermCodePoints: 2;
|
|
44
|
+
maxHanTermCodePoints: 8;
|
|
45
|
+
maxLatinNumericTokenCodePoints: 64;
|
|
46
|
+
maxDictionaryTerms: 100_000;
|
|
47
|
+
maxLexicalizeInputCodeUnits: 1_000_000;
|
|
48
|
+
maxLexicalizeOutputTerms: 1_000_000;
|
|
49
|
+
}>;
|
|
50
|
+
/** 此算法保持码点原样,明确不承担简繁转换。 */
|
|
51
|
+
readonly simplifiedTraditionalConversion: "none";
|
|
52
|
+
}
|
|
53
|
+
export interface LegacyChineseLexicalRuntimeIdentityV2 {
|
|
54
|
+
readonly engine: "Intl.Segmenter";
|
|
55
|
+
readonly locale: string;
|
|
56
|
+
readonly granularity: "word";
|
|
57
|
+
readonly node: string;
|
|
58
|
+
readonly icu: string;
|
|
59
|
+
readonly unicode: string;
|
|
60
|
+
readonly cldr: string;
|
|
61
|
+
readonly strategy: typeof LEGACY_CHINESE_LEXICAL_STRATEGY_V2_VERSION;
|
|
62
|
+
readonly normalization: Readonly<{
|
|
63
|
+
engine: "opencc-js";
|
|
64
|
+
version: typeof OPENCC_VERSION;
|
|
65
|
+
mode: "t-to-cn";
|
|
66
|
+
dictionaryIdentity: typeof OPENCC_DICTIONARY_IDENTITY;
|
|
67
|
+
}>;
|
|
68
|
+
}
|
|
69
|
+
export interface LegacyChineseLexicalIndexProfileV2 {
|
|
70
|
+
readonly schemaVersion: 2;
|
|
71
|
+
readonly version: typeof LEGACY_CHINESE_LEXICAL_PROFILE_V2_VERSION;
|
|
72
|
+
readonly runtimeIdentity: LegacyChineseLexicalRuntimeIdentityV2;
|
|
73
|
+
/** 原始 source texts 的顺序无关 multiset hash。 */
|
|
74
|
+
readonly rawCorpusHash: string;
|
|
75
|
+
/** t→cn 派生 source texts 的顺序无关 multiset hash。 */
|
|
76
|
+
readonly corpusHash: string;
|
|
77
|
+
readonly rawEntityLexiconHash: string;
|
|
78
|
+
readonly entityLexiconHash: string;
|
|
79
|
+
/** 只读实体 overlay 的内容 hash;不注入 OpenCC 或 Intl 的全局状态。 */
|
|
80
|
+
readonly dictionaryHash: string;
|
|
81
|
+
readonly profileHash: string;
|
|
82
|
+
readonly sourceCodeUnits: number;
|
|
83
|
+
readonly dictionary: readonly string[];
|
|
84
|
+
readonly dictionaryStats: Readonly<{
|
|
85
|
+
entityLexiconTerms: number;
|
|
86
|
+
totalTerms: number;
|
|
87
|
+
}>;
|
|
88
|
+
readonly limits: Readonly<{
|
|
89
|
+
minHanTermCodePoints: 2;
|
|
90
|
+
maxHanTermCodePoints: 8;
|
|
91
|
+
maxLatinNumericTokenCodePoints: 64;
|
|
92
|
+
maxDictionaryTerms: 100_000;
|
|
93
|
+
maxLexicalizeInputCodeUnits: 1_000_000;
|
|
94
|
+
maxLexicalizeOutputTerms: 1_000_000;
|
|
95
|
+
}>;
|
|
96
|
+
readonly simplifiedTraditionalConversion: "opencc-t-to-cn";
|
|
97
|
+
}
|
|
98
|
+
export interface LegacyChineseLexicalRuntimeIdentityV3 extends Omit<LegacyChineseLexicalRuntimeIdentityV2, "strategy"> {
|
|
99
|
+
readonly strategy: typeof LEGACY_CHINESE_LEXICAL_STRATEGY_V3_VERSION;
|
|
100
|
+
}
|
|
101
|
+
export interface LegacyChineseLexicalIndexProfileV3 extends Omit<LegacyChineseLexicalIndexProfileV2, "schemaVersion" | "version" | "runtimeIdentity"> {
|
|
102
|
+
readonly schemaVersion: 3;
|
|
103
|
+
readonly version: typeof LEGACY_CHINESE_LEXICAL_PROFILE_V3_VERSION;
|
|
104
|
+
readonly runtimeIdentity: LegacyChineseLexicalRuntimeIdentityV3;
|
|
105
|
+
}
|
|
106
|
+
export interface ChineseLexicalRuntimeIdentity extends Omit<LegacyChineseLexicalRuntimeIdentityV2, "strategy"> {
|
|
107
|
+
readonly strategy: typeof CHINESE_LEXICAL_STRATEGY_VERSION;
|
|
108
|
+
}
|
|
109
|
+
export interface ChineseLexicalIndexProfile extends Omit<LegacyChineseLexicalIndexProfileV2, "schemaVersion" | "version" | "runtimeIdentity"> {
|
|
110
|
+
readonly schemaVersion: 4;
|
|
111
|
+
readonly version: typeof CHINESE_LEXICAL_PROFILE_VERSION;
|
|
112
|
+
readonly runtimeIdentity: ChineseLexicalRuntimeIdentity;
|
|
113
|
+
}
|
|
114
|
+
type NormalizedChineseLexicalIndexProfile = ChineseLexicalIndexProfile | LegacyChineseLexicalIndexProfileV3 | LegacyChineseLexicalIndexProfileV2;
|
|
115
|
+
export type AnyChineseLexicalIndexProfile = NormalizedChineseLexicalIndexProfile | LegacyChineseLexicalIndexProfileV1;
|
|
116
|
+
export type ChineseLexicalProfileOptions = Readonly<{
|
|
117
|
+
entityLabels?: readonly string[];
|
|
118
|
+
aliases?: readonly string[];
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* 按 v1 规则从已校验的 source 重建 checkpoint 派生 profile。
|
|
122
|
+
*
|
|
123
|
+
* 保留这个具名入口,迁移代码不得把 checkpoint 中未经重算的 dictionary/profileHash
|
|
124
|
+
* 直接当成可信派生数据。
|
|
125
|
+
*/
|
|
126
|
+
export declare function buildLegacyChineseLexicalIndexProfileV1(texts: readonly string[], options?: ChineseLexicalProfileOptions): LegacyChineseLexicalIndexProfileV1;
|
|
127
|
+
/** 按旧 v2 hash/strategy 原样重建,供已校验 checkpoint 的显式迁移使用。 */
|
|
128
|
+
export declare function buildLegacyChineseLexicalIndexProfileV2(texts: readonly string[], options?: ChineseLexicalProfileOptions): LegacyChineseLexicalIndexProfileV2;
|
|
129
|
+
/** 按旧 v3 hash/strategy 原样重建,供已校验 checkpoint 的显式迁移使用。 */
|
|
130
|
+
export declare function buildLegacyChineseLexicalIndexProfileV3(texts: readonly string[], options?: ChineseLexicalProfileOptions): LegacyChineseLexicalIndexProfileV3;
|
|
131
|
+
export declare function buildChineseLexicalIndexProfile(texts: readonly string[], options?: ChineseLexicalProfileOptions): ChineseLexicalIndexProfile;
|
|
132
|
+
/**
|
|
133
|
+
* 生成供 FTS 派生字段与 query planner 共用的确定性 terms。
|
|
134
|
+
* 不修改原文、不做简繁转换;profile 首次使用时构建一次 trie,后续按对象 identity 复用。
|
|
135
|
+
*/
|
|
136
|
+
export declare function legacyChineseLexicalTermsV1(text: string, profile: LegacyChineseLexicalIndexProfileV1): readonly string[];
|
|
137
|
+
/** 按旧 v2 full-run bigram 规则生成 terms,供 checkpoint 验证和显式迁移使用。 */
|
|
138
|
+
export declare function legacyChineseLexicalTermsV2(text: string, profile: LegacyChineseLexicalIndexProfileV2): readonly string[];
|
|
139
|
+
/** 按旧 v3 词内 bigram 规则生成 terms,供 checkpoint 验证和显式迁移使用。 */
|
|
140
|
+
export declare function legacyChineseLexicalTermsV3(text: string, profile: LegacyChineseLexicalIndexProfileV3): readonly string[];
|
|
141
|
+
/**
|
|
142
|
+
* 只生成 derived lexical terms。OpenCC 转换不回写原文,caller 持有的 text/provenance/offset 保持不变。
|
|
143
|
+
*/
|
|
144
|
+
export declare function chineseLexicalTerms(text: string, profile: AnyChineseLexicalIndexProfile): readonly string[];
|
|
145
|
+
/** 仅用于 FTS derived field;调用方必须另外保存原始 text/provenance/offset。 */
|
|
146
|
+
export declare function lexicalize(text: string, profile: AnyChineseLexicalIndexProfile): string;
|
|
147
|
+
/**
|
|
148
|
+
* FTS query 专用投影:只移除封闭集合中的中文疑问功能词,保留实体、否定、时间和谓词。
|
|
149
|
+
* corpus 仍使用完整 lexicalize,不能借 stop-term 规则改写原文或推断语义。
|
|
150
|
+
*/
|
|
151
|
+
export declare function lexicalizeQuery(text: string, profile: AnyChineseLexicalIndexProfile): string;
|
|
152
|
+
export {};
|