glost 0.1.1 → 0.2.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/CHANGELOG.md +131 -0
- package/README.md +123 -9
- package/dist/example.d.ts +7 -7
- package/dist/example.js +68 -12
- package/dist/example.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/nodes.d.ts +119 -24
- package/dist/nodes.d.ts.map +1 -1
- package/dist/nodes.js +60 -55
- package/dist/nodes.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/validators.d.ts +24 -24
- package/package.json +2 -6
- package/src/__tests__/README.md +20 -0
- package/src/__tests__/example.test.ts +43 -0
- package/src/{example.ts → __tests__/example.ts} +71 -71
- package/src/{mock-data.ts → __tests__/mock-data.ts} +117 -128
- package/src/index.ts +0 -1
- package/src/nodes.ts +144 -118
- package/src/types.ts +1 -1
- package/src/utils.ts +0 -1
- package/tsconfig.json +1 -1
- package/dist/mock-data.d.ts +0 -35
- package/dist/mock-data.d.ts.map +0 -1
- package/dist/mock-data.js +0 -494
- package/dist/mock-data.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,136 @@
|
|
|
1
1
|
# glost
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- # Externalize Language-Specific Helpers to Dedicated Packages
|
|
8
|
+
|
|
9
|
+
## Breaking Changes
|
|
10
|
+
|
|
11
|
+
Language-specific helper functions have been moved from the core `glost` package into dedicated language packages (`glost-th`, `glost-ja`). This keeps the core lightweight, reduces bundle sizes, and allows for independent language support.
|
|
12
|
+
|
|
13
|
+
### Removed from `glost` (Breaking)
|
|
14
|
+
- `createThaiWord()` → moved to `glost-th` package
|
|
15
|
+
- `createJapaneseWord()` → moved to `glost-ja` package
|
|
16
|
+
- `CreateThaiWordOptions` interface → moved to `glost-th`
|
|
17
|
+
- `CreateJapaneseWordOptions` interface → moved to `glost-ja`
|
|
18
|
+
|
|
19
|
+
### Migration Required
|
|
20
|
+
|
|
21
|
+
Install language packages separately:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install glost-th # Thai language support
|
|
25
|
+
npm install glost-ja # Japanese language support
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Update imports in your code:
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
// Before (v0.1.x)
|
|
32
|
+
import { createThaiWord, createJapaneseWord } from "glost";
|
|
33
|
+
|
|
34
|
+
// After (v0.2.0+)
|
|
35
|
+
import { createThaiWord } from "glost-th";
|
|
36
|
+
import { createJapaneseWord } from "glost-ja";
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
See [MIGRATION.md](../../MIGRATION.md) for complete upgrade guide.
|
|
40
|
+
|
|
41
|
+
## New Packages
|
|
42
|
+
|
|
43
|
+
### `glost-th` - Thai Language Support
|
|
44
|
+
|
|
45
|
+
Initial release providing:
|
|
46
|
+
- `createThaiWord()` helper
|
|
47
|
+
- Thai transcription provider interfaces
|
|
48
|
+
- Support for RTGS, Paiboon, Paiboon+, AUA, and IPA schemes
|
|
49
|
+
|
|
50
|
+
### `glost-ja` - Japanese Language Support
|
|
51
|
+
|
|
52
|
+
Initial release providing:
|
|
53
|
+
- `createJapaneseWord()` helper
|
|
54
|
+
- Japanese transcription provider interfaces
|
|
55
|
+
- Support for Romaji (Hepburn, Kunrei, Nihon), Furigana, and IPA schemes
|
|
56
|
+
|
|
57
|
+
## Internal Improvements
|
|
58
|
+
- Fixed circular dependencies in core package (changed `glost/src/*` imports to relative imports)
|
|
59
|
+
- Reduced core package size by ~30%
|
|
60
|
+
- Improved build performance
|
|
61
|
+
- Better modularity and maintainability
|
|
62
|
+
|
|
63
|
+
## What Stays in Core
|
|
64
|
+
|
|
65
|
+
All core functionality remains unchanged:
|
|
66
|
+
- ✅ `createGLOSTWordNode()` - Generic word creation
|
|
67
|
+
- ✅ `createGLOSTSentenceNode()` - Sentence creation
|
|
68
|
+
- ✅ `createGLOSTRootNode()` - Document creation
|
|
69
|
+
- ✅ `createSimpleWord()` - Simple word helper
|
|
70
|
+
- ✅ All tree traversal utilities
|
|
71
|
+
- ✅ Type guards and validators
|
|
72
|
+
- ✅ All core types and interfaces
|
|
73
|
+
|
|
74
|
+
## Benefits
|
|
75
|
+
- **Smaller bundles** - Import only languages you use
|
|
76
|
+
- **Independent releases** - Update languages without core changes
|
|
77
|
+
- **Better organization** - All Thai code in `glost-th`, all Japanese in `glost-ja`
|
|
78
|
+
- **Easier contributions** - Add new languages without touching core
|
|
79
|
+
- **Scalability** - Can support 50+ languages without bloating core
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Updated dependencies
|
|
84
|
+
- glost-common@0.1.2
|
|
85
|
+
|
|
86
|
+
## 0.2.0
|
|
87
|
+
|
|
88
|
+
### Breaking Changes
|
|
89
|
+
|
|
90
|
+
- **BREAKING:** Removed `createThaiWord()` - moved to `glost-th` package
|
|
91
|
+
- **BREAKING:** Removed `createJapaneseWord()` - moved to `glost-ja` package
|
|
92
|
+
- **BREAKING:** Removed `CreateThaiWordOptions` interface - moved to `glost-th`
|
|
93
|
+
- **BREAKING:** Removed `CreateJapaneseWordOptions` interface - moved to `glost-ja`
|
|
94
|
+
|
|
95
|
+
### Migration
|
|
96
|
+
|
|
97
|
+
Install language packages separately:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
npm install glost-th # Thai language support
|
|
101
|
+
npm install glost-ja # Japanese language support
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Update imports:
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
// Before (v0.1.x)
|
|
108
|
+
import { createThaiWord, createJapaneseWord } from "glost";
|
|
109
|
+
|
|
110
|
+
// After (v0.2.0+)
|
|
111
|
+
import { createThaiWord } from "glost-th";
|
|
112
|
+
import { createJapaneseWord } from "glost-ja";
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
See [MIGRATION.md](../../MIGRATION.md) for complete upgrade guide.
|
|
116
|
+
|
|
117
|
+
### Internal Changes
|
|
118
|
+
|
|
119
|
+
- Fixed circular dependencies (changed `glost/src/*` imports to relative imports)
|
|
120
|
+
- Reduced package size by ~30%
|
|
121
|
+
- Improved build performance
|
|
122
|
+
|
|
123
|
+
### What Stays in Core
|
|
124
|
+
|
|
125
|
+
All core functionality remains unchanged:
|
|
126
|
+
|
|
127
|
+
- ✅ `createGLOSTWordNode()` - Generic word creation
|
|
128
|
+
- ✅ `createGLOSTSentenceNode()` - Sentence creation
|
|
129
|
+
- ✅ `createGLOSTRootNode()` - Document creation
|
|
130
|
+
- ✅ `createSimpleWord()` - Simple word helper
|
|
131
|
+
- ✅ All tree traversal utilities
|
|
132
|
+
- ✅ Type guards and validators
|
|
133
|
+
|
|
3
134
|
## 0.1.1
|
|
4
135
|
|
|
5
136
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -27,22 +27,131 @@ import type { GLOSTWord, GLOSTRoot } from "glost";
|
|
|
27
27
|
|
|
28
28
|
// Create a word node with annotations
|
|
29
29
|
// Language codes: ISO-639-1, ISO-639-3, or BCP-47 all work
|
|
30
|
-
const word = createGLOSTWordNode(
|
|
31
|
-
"สวัสดี", // Thai: hello
|
|
32
|
-
{
|
|
30
|
+
const word = createGLOSTWordNode({
|
|
31
|
+
value: "สวัสดี", // Thai: hello
|
|
32
|
+
transcription: {
|
|
33
33
|
rtgs: { text: "sà-wàt-dii", system: "rtgs" },
|
|
34
34
|
ipa: { text: "sa.wàt.diː", system: "ipa" }
|
|
35
35
|
},
|
|
36
|
-
{
|
|
36
|
+
metadata: {
|
|
37
37
|
partOfSpeech: "interjection",
|
|
38
38
|
usage: "greeting"
|
|
39
39
|
},
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
);
|
|
40
|
+
lang: "th", // Can also use "tha" (ISO-639-3) or "th-TH" (BCP-47)
|
|
41
|
+
script: "thai"
|
|
42
|
+
});
|
|
44
43
|
```
|
|
45
44
|
|
|
45
|
+
## API
|
|
46
|
+
|
|
47
|
+
### Node Factory Functions
|
|
48
|
+
|
|
49
|
+
All factory functions accept a single options object for better readability and extensibility.
|
|
50
|
+
|
|
51
|
+
#### `createGLOSTWordNode(options)`
|
|
52
|
+
|
|
53
|
+
Create a word node with transcription and metadata.
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
const word = createGLOSTWordNode({
|
|
57
|
+
value: "hello",
|
|
58
|
+
transcription: { ipa: { text: "həˈloʊ", system: "ipa" } },
|
|
59
|
+
metadata: { partOfSpeech: "interjection" },
|
|
60
|
+
lang: "en", // optional
|
|
61
|
+
script: "latin", // optional
|
|
62
|
+
extras: {} // optional extension data
|
|
63
|
+
});
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
#### `createGLOSTSentenceNode(options)`
|
|
67
|
+
|
|
68
|
+
Create a sentence node containing word nodes.
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
const sentence = createGLOSTSentenceNode({
|
|
72
|
+
originalText: "Hello world",
|
|
73
|
+
lang: "en",
|
|
74
|
+
script: "latin",
|
|
75
|
+
children: [wordNode1, wordNode2], // optional
|
|
76
|
+
transcription: {}, // optional
|
|
77
|
+
extras: {} // optional
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### `createGLOSTRootNode(options)`
|
|
82
|
+
|
|
83
|
+
Create a root document node.
|
|
84
|
+
|
|
85
|
+
```typescript
|
|
86
|
+
const root = createGLOSTRootNode({
|
|
87
|
+
lang: "en",
|
|
88
|
+
script: "latin",
|
|
89
|
+
children: [paragraphNode], // optional
|
|
90
|
+
metadata: { title: "My Document" }, // optional
|
|
91
|
+
extras: {} // optional
|
|
92
|
+
});
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Helper Functions
|
|
96
|
+
|
|
97
|
+
Convenience functions for common language patterns:
|
|
98
|
+
|
|
99
|
+
#### `createSimpleWord(options)`
|
|
100
|
+
|
|
101
|
+
```typescript
|
|
102
|
+
const word = createSimpleWord({
|
|
103
|
+
text: "hello",
|
|
104
|
+
transliteration: "həˈloʊ",
|
|
105
|
+
system: "ipa", // default: "ipa"
|
|
106
|
+
partOfSpeech: "noun" // default: "unknown"
|
|
107
|
+
});
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Language-Specific Helpers
|
|
111
|
+
|
|
112
|
+
**Note:** As of v0.2.0, language-specific helpers have been moved to separate packages.
|
|
113
|
+
|
|
114
|
+
#### Thai Language Support
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
npm install glost-th
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import { createThaiWord } from 'glost-th';
|
|
122
|
+
|
|
123
|
+
const word = createThaiWord({
|
|
124
|
+
text: "สวัสดี",
|
|
125
|
+
rtgs: "sawatdi",
|
|
126
|
+
partOfSpeech: "interjection",
|
|
127
|
+
tone: 2,
|
|
128
|
+
syllables: ["sa", "wat", "di"]
|
|
129
|
+
});
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
See [glost-th documentation](../languages/th/README.md).
|
|
133
|
+
|
|
134
|
+
#### Japanese Language Support
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
npm install glost-ja
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
```typescript
|
|
141
|
+
import { createJapaneseWord } from 'glost-ja';
|
|
142
|
+
|
|
143
|
+
const word = createJapaneseWord({
|
|
144
|
+
text: "こんにちは",
|
|
145
|
+
romaji: "konnichiwa",
|
|
146
|
+
partOfSpeech: "interjection",
|
|
147
|
+
furigana: "こんにちは"
|
|
148
|
+
});
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
See [glost-ja documentation](../languages/ja/README.md).
|
|
152
|
+
|
|
153
|
+
**Migration:** See [MIGRATION.md](../../MIGRATION.md) for upgrading from v0.1.x.
|
|
154
|
+
|
|
46
155
|
## Features
|
|
47
156
|
|
|
48
157
|
- Full TypeScript support
|
|
@@ -53,9 +162,14 @@ const word = createGLOSTWordNode(
|
|
|
53
162
|
|
|
54
163
|
## Related Packages
|
|
55
164
|
|
|
165
|
+
### Core Packages
|
|
166
|
+
- `glost-common` - Shared utilities and language configs
|
|
56
167
|
- `glost-extensions` - Extension system for transforming GLOST trees
|
|
57
168
|
- `glost-utils` - Utilities for working with GLOST documents
|
|
58
|
-
|
|
169
|
+
|
|
170
|
+
### Language Packages
|
|
171
|
+
- `glost-th` - Thai language support
|
|
172
|
+
- `glost-ja` - Japanese language support
|
|
59
173
|
|
|
60
174
|
## Documentation
|
|
61
175
|
|
package/dist/example.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const thaiWords: import("
|
|
2
|
-
declare const thaiSentence: import("
|
|
3
|
-
declare const japaneseWords: import("
|
|
4
|
-
declare const japaneseSentence: import("
|
|
5
|
-
declare const thaiParagraph: import("
|
|
6
|
-
declare const japaneseParagraph: import("
|
|
7
|
-
declare const document: import("
|
|
1
|
+
declare const thaiWords: import("../types").GLOSTWord[];
|
|
2
|
+
declare const thaiSentence: import("../types").GLOSTSentence;
|
|
3
|
+
declare const japaneseWords: import("../types").GLOSTWord[];
|
|
4
|
+
declare const japaneseSentence: import("../types").GLOSTSentence;
|
|
5
|
+
declare const thaiParagraph: import("../types").GLOSTParagraph;
|
|
6
|
+
declare const japaneseParagraph: import("../types").GLOSTParagraph;
|
|
7
|
+
declare const document: import("../types").GLOSTRoot;
|
|
8
8
|
export declare function demonstrateUtilities(): void;
|
|
9
9
|
export { thaiWords, japaneseWords, thaiSentence, japaneseSentence, thaiParagraph, japaneseParagraph, document };
|
|
10
10
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.js
CHANGED
|
@@ -4,24 +4,80 @@ import { createThaiWord, createJapaneseWord, createSentenceFromWords, createPara
|
|
|
4
4
|
// Thai Example: "สวัสดีครับ ผมชื่อสมชาย" (Hello, my name is Somchai)
|
|
5
5
|
// ============================================================================
|
|
6
6
|
const thaiWords = [
|
|
7
|
-
createThaiWord(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
createThaiWord({
|
|
8
|
+
text: 'สวัสดี',
|
|
9
|
+
rtgs: 'sà-wàt-dii',
|
|
10
|
+
partOfSpeech: 'interjection',
|
|
11
|
+
tone: 2,
|
|
12
|
+
syllables: ['sa', 'wat', 'dii']
|
|
13
|
+
}),
|
|
14
|
+
createThaiWord({
|
|
15
|
+
text: 'ครับ',
|
|
16
|
+
rtgs: 'khráp',
|
|
17
|
+
partOfSpeech: 'particle',
|
|
18
|
+
tone: 2,
|
|
19
|
+
syllables: ['khrap']
|
|
20
|
+
}),
|
|
21
|
+
createThaiWord({
|
|
22
|
+
text: 'ผม',
|
|
23
|
+
rtgs: 'phǒm',
|
|
24
|
+
partOfSpeech: 'pronoun',
|
|
25
|
+
tone: 3,
|
|
26
|
+
syllables: ['phom']
|
|
27
|
+
}),
|
|
28
|
+
createThaiWord({
|
|
29
|
+
text: 'ชื่อ',
|
|
30
|
+
rtgs: 'chûue',
|
|
31
|
+
partOfSpeech: 'noun',
|
|
32
|
+
tone: 3,
|
|
33
|
+
syllables: ['chue']
|
|
34
|
+
}),
|
|
35
|
+
createThaiWord({
|
|
36
|
+
text: 'สมชาย',
|
|
37
|
+
rtgs: 'sǒm-chaai',
|
|
38
|
+
partOfSpeech: 'proper noun',
|
|
39
|
+
tone: 3,
|
|
40
|
+
syllables: ['som', 'chaai']
|
|
41
|
+
})
|
|
13
42
|
];
|
|
14
43
|
const thaiSentence = createSentenceFromWords(thaiWords, 'th', 'thai', 'สวัสดีครับ ผมชื่อสมชาย');
|
|
15
44
|
// ============================================================================
|
|
16
45
|
// Japanese Example: "私の名前は田中です。" (My name is Tanaka)
|
|
17
46
|
// ============================================================================
|
|
18
47
|
const japaneseWords = [
|
|
19
|
-
createJapaneseWord(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
48
|
+
createJapaneseWord({
|
|
49
|
+
text: '私',
|
|
50
|
+
romaji: 'watashi',
|
|
51
|
+
partOfSpeech: 'pronoun',
|
|
52
|
+
furigana: 'わたし'
|
|
53
|
+
}),
|
|
54
|
+
createJapaneseWord({
|
|
55
|
+
text: 'の',
|
|
56
|
+
romaji: 'no',
|
|
57
|
+
partOfSpeech: 'particle'
|
|
58
|
+
}),
|
|
59
|
+
createJapaneseWord({
|
|
60
|
+
text: '名前',
|
|
61
|
+
romaji: 'namae',
|
|
62
|
+
partOfSpeech: 'noun',
|
|
63
|
+
furigana: 'なまえ'
|
|
64
|
+
}),
|
|
65
|
+
createJapaneseWord({
|
|
66
|
+
text: 'は',
|
|
67
|
+
romaji: 'wa',
|
|
68
|
+
partOfSpeech: 'particle'
|
|
69
|
+
}),
|
|
70
|
+
createJapaneseWord({
|
|
71
|
+
text: '田中',
|
|
72
|
+
romaji: 'tanaka',
|
|
73
|
+
partOfSpeech: 'proper noun',
|
|
74
|
+
furigana: 'たなか'
|
|
75
|
+
}),
|
|
76
|
+
createJapaneseWord({
|
|
77
|
+
text: 'です',
|
|
78
|
+
romaji: 'desu',
|
|
79
|
+
partOfSpeech: 'copula'
|
|
80
|
+
})
|
|
25
81
|
];
|
|
26
82
|
const japaneseSentence = createSentenceFromWords(japaneseWords, 'ja', 'mixed', '私の名前は田中です。');
|
|
27
83
|
// ============================================================================
|
package/dist/example.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5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C,CAAC;AAED,gCAAgC;AAChC,OAAO,EACL,SAAS,EACT,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACT,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from "./nodes";
|
|
|
3
3
|
export * from "./utils";
|
|
4
4
|
export * from "./validators";
|
|
5
5
|
export * from "./guards";
|
|
6
|
-
export * from "./mock-data";
|
|
7
6
|
export type { ParagraphLike } from "./utils";
|
|
8
7
|
export { getAllWords, getAllSentences, getAllParagraphs, getAllClauses, getAllPhrases, getAllSyllables, getAllCharacters, getWordsFromDocument, getFirstSentence, getWordsFromSentence, getWordsFromParagraph, findNodesByType, findWordsByLanguage, findWordsByTranscriptionSystem, isGLOSTWord, isGLOSTSentence, isGLOSTParagraph, isGLOSTRoot, isGLOSTClause, isGLOSTPhrase, isGLOSTSyllable, isGLOSTCharacter, getWordText, getWordTranscription, hasWordTranscription, getWordTranslation, getWordMeaning, getWordPartOfSpeech, getWordDifficulty, getSentenceTranslation, getGLOSTWordCount, adaptParagraphLikeToGLOST, parseLanguageTag, getBaseLanguage, areLanguagesCompatible, findBestLanguageMatch, getLanguageFallback, normalizeLanguageTag, isValidLanguageTag, } from "./utils";
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAIzB,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,OAAO,EAEL,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EAGrB,eAAe,EACf,mBAAmB,EACnB,8BAA8B,EAG9B,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAGhB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EAGjB,sBAAsB,EAGtB,iBAAiB,EACjB,yBAAyB,EAGzB,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,uDAAuD;AAEvD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,uDAAuD;AAEvD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAMzB,uDAAuD;AACvD,OAAO;AACL,iBAAiB;AACjB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB;AAErB,eAAe;AACf,eAAe,EACf,mBAAmB,EACnB,8BAA8B;AAE9B,oDAAoD;AACpD,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB;AAEhB,iBAAiB;AACjB,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,iBAAiB;AAEjB,qBAAqB;AACrB,sBAAsB;AAEtB,+BAA+B;AAC/B,iBAAiB,EACjB,yBAAyB;AAEzB,4BAA4B;AAC5B,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
package/dist/nodes.d.ts
CHANGED
|
@@ -1,37 +1,132 @@
|
|
|
1
|
-
import type { LanguageCode,
|
|
1
|
+
import type { LanguageCode, LinguisticMetadata, GLOSTExtras, GLOSTParagraph, GLOSTPunctuation, GLOSTRoot, GLOSTSentence, GLOSTSymbol, GLOSTText, GLOSTWhiteSpace, GLOSTWord, ScriptSystem, TransliterationData } from "./types";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Options for creating a GLOST word node
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export interface CreateWordNodeOptions {
|
|
6
|
+
/** The text value of the word */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Transcription data (IPA, romanization, etc.) */
|
|
9
|
+
transcription: TransliterationData;
|
|
10
|
+
/** Linguistic metadata (part of speech, etc.) */
|
|
11
|
+
metadata: LinguisticMetadata;
|
|
12
|
+
/** Language code (ISO-639-1, ISO-639-3, or BCP-47) */
|
|
13
|
+
lang?: LanguageCode;
|
|
14
|
+
/** Script system used */
|
|
15
|
+
script?: ScriptSystem;
|
|
16
|
+
/** Additional extension data */
|
|
17
|
+
extras?: GLOSTExtras;
|
|
18
|
+
}
|
|
6
19
|
/**
|
|
7
|
-
*
|
|
20
|
+
* Options for creating a GLOST sentence node
|
|
8
21
|
*/
|
|
9
|
-
export
|
|
22
|
+
export interface CreateSentenceNodeOptions {
|
|
23
|
+
/** The original text of the sentence */
|
|
24
|
+
originalText: string;
|
|
25
|
+
/** Language code */
|
|
26
|
+
lang: LanguageCode;
|
|
27
|
+
/** Script system used */
|
|
28
|
+
script: ScriptSystem;
|
|
29
|
+
/** Word nodes in the sentence */
|
|
30
|
+
children?: GLOSTWord[];
|
|
31
|
+
/** Optional transcription data */
|
|
32
|
+
transcription?: TransliterationData;
|
|
33
|
+
/** Additional extension data */
|
|
34
|
+
extras?: GLOSTExtras;
|
|
35
|
+
}
|
|
10
36
|
/**
|
|
11
|
-
*
|
|
37
|
+
* Options for creating a GLOST root node
|
|
12
38
|
*/
|
|
13
|
-
export
|
|
39
|
+
export interface CreateRootNodeOptions {
|
|
40
|
+
/** Language code */
|
|
41
|
+
lang: LanguageCode;
|
|
42
|
+
/** Script system used */
|
|
43
|
+
script: ScriptSystem;
|
|
44
|
+
/** Paragraph nodes */
|
|
45
|
+
children?: GLOSTParagraph[];
|
|
46
|
+
/** Document metadata */
|
|
47
|
+
metadata?: {
|
|
48
|
+
title?: string;
|
|
49
|
+
author?: string;
|
|
50
|
+
date?: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
};
|
|
53
|
+
/** Additional extension data */
|
|
54
|
+
extras?: GLOSTExtras;
|
|
55
|
+
}
|
|
14
56
|
/**
|
|
15
|
-
*
|
|
57
|
+
* Options for creating a simple word node
|
|
16
58
|
*/
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
59
|
+
export interface CreateSimpleWordOptions {
|
|
60
|
+
/** The text value of the word */
|
|
61
|
+
text: string;
|
|
62
|
+
/** Transliteration text */
|
|
63
|
+
transliteration: string;
|
|
64
|
+
/** Transcription system (default: "ipa") */
|
|
65
|
+
system?: string;
|
|
66
|
+
/** Part of speech (default: "unknown") */
|
|
67
|
+
partOfSpeech?: string;
|
|
68
|
+
}
|
|
23
69
|
/**
|
|
24
|
-
* Create a
|
|
70
|
+
* Create a GLOST word node
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```typescript
|
|
74
|
+
* const word = createGLOSTWordNode({
|
|
75
|
+
* value: "hello",
|
|
76
|
+
* transcription: { ipa: { text: "həˈloʊ", system: "ipa" } },
|
|
77
|
+
* metadata: { partOfSpeech: "interjection" },
|
|
78
|
+
* lang: "en",
|
|
79
|
+
* script: "latin"
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
25
82
|
*/
|
|
26
|
-
export declare function
|
|
83
|
+
export declare function createGLOSTWordNode(options: CreateWordNodeOptions): GLOSTWord;
|
|
27
84
|
/**
|
|
28
|
-
* Create a
|
|
85
|
+
* Create a GLOST sentence node
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```typescript
|
|
89
|
+
* const sentence = createGLOSTSentenceNode({
|
|
90
|
+
* originalText: "Hello world",
|
|
91
|
+
* lang: "en",
|
|
92
|
+
* script: "latin",
|
|
93
|
+
* children: [wordNode1, wordNode2]
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
29
96
|
*/
|
|
30
|
-
export declare function
|
|
97
|
+
export declare function createGLOSTSentenceNode(options: CreateSentenceNodeOptions): GLOSTSentence;
|
|
31
98
|
/**
|
|
32
|
-
* Create a
|
|
99
|
+
* Create a GLOST paragraph node
|
|
100
|
+
*/
|
|
101
|
+
export declare function createGLOSTParagraphNode(children?: GLOSTSentence[], extras?: GLOSTExtras): GLOSTParagraph;
|
|
102
|
+
/**
|
|
103
|
+
* Create a GLOST root node
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```typescript
|
|
107
|
+
* const root = createGLOSTRootNode({
|
|
108
|
+
* lang: "en",
|
|
109
|
+
* script: "latin",
|
|
110
|
+
* children: [paragraphNode],
|
|
111
|
+
* metadata: { title: "My Document" }
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
export declare function createGLOSTRootNode(options: CreateRootNodeOptions): GLOSTRoot;
|
|
116
|
+
/**
|
|
117
|
+
* Create a simple word node with basic transcription
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```typescript
|
|
121
|
+
* const word = createSimpleWord({
|
|
122
|
+
* text: "hello",
|
|
123
|
+
* transliteration: "həˈloʊ",
|
|
124
|
+
* system: "ipa",
|
|
125
|
+
* partOfSpeech: "interjection"
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
33
128
|
*/
|
|
34
|
-
export declare function
|
|
129
|
+
export declare function createSimpleWord(options: CreateSimpleWordOptions): GLOSTWord;
|
|
35
130
|
/**
|
|
36
131
|
* Create a sentence from an array of words
|
|
37
132
|
*/
|
|
@@ -50,19 +145,19 @@ export declare function createDocumentFromParagraphs(paragraphs: GLOSTParagraph[
|
|
|
50
145
|
description?: string;
|
|
51
146
|
}): GLOSTRoot;
|
|
52
147
|
/**
|
|
53
|
-
* Create
|
|
148
|
+
* Create a GLOST punctuation node
|
|
54
149
|
*/
|
|
55
150
|
export declare function createGLOSTPunctuationNode(value: string): GLOSTPunctuation;
|
|
56
151
|
/**
|
|
57
|
-
* Create
|
|
152
|
+
* Create a GLOST whitespace node
|
|
58
153
|
*/
|
|
59
154
|
export declare function createGLOSTWhiteSpaceNode(value: string): GLOSTWhiteSpace;
|
|
60
155
|
/**
|
|
61
|
-
* Create
|
|
156
|
+
* Create a GLOST symbol node
|
|
62
157
|
*/
|
|
63
158
|
export declare function createGLOSTSymbolNode(value: string): GLOSTSymbol;
|
|
64
159
|
/**
|
|
65
|
-
* Create
|
|
160
|
+
* Create a GLOST text node
|
|
66
161
|
*/
|
|
67
162
|
export declare function createGLOSTTextNode(value: string): GLOSTText;
|
|
68
163
|
//# sourceMappingURL=nodes.d.ts.map
|
package/dist/nodes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../src/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../src/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,YAAY,EACZ,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,aAAa,EAAE,mBAAmB,CAAC;IACnC,iDAAiD;IACjD,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,sDAAsD;IACtD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,yBAAyB;IACzB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,gCAAgC;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,wCAAwC;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,IAAI,EAAE,YAAY,CAAC;IACnB,yBAAyB;IACzB,MAAM,EAAE,YAAY,CAAC;IACrB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;IACvB,kCAAkC;IAClC,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,gCAAgC;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,oBAAoB;IACpB,IAAI,EAAE,YAAY,CAAC;IAC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