tycho-components 0.2.0-SNAPSHOT-26 → 0.2.1-SNAPSHOT
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/SentenceView/SentenceEditionTiers.d.ts +7 -0
- package/dist/SentenceView/SentenceEditionTiers.js +21 -0
- package/dist/SentenceView/SentenceMorphemeTags.d.ts +6 -0
- package/dist/SentenceView/SentenceMorphemeTags.js +23 -0
- package/dist/SentenceView/SentenceMorphemeTiers.d.ts +9 -0
- package/dist/SentenceView/SentenceMorphemeTiers.js +41 -0
- package/dist/SentenceView/SentenceTags.d.ts +6 -0
- package/dist/SentenceView/SentenceTags.js +20 -0
- package/dist/SentenceView/SentenceValues.d.ts +6 -0
- package/dist/SentenceView/SentenceValues.js +14 -0
- package/dist/SentenceView/SentenceView.d.ts +12 -0
- package/dist/SentenceView/SentenceView.js +12 -0
- package/dist/SentenceView/SentenceWordTiers.d.ts +8 -0
- package/dist/SentenceView/SentenceWordTiers.js +15 -0
- package/dist/SentenceView/style.scss +73 -0
- package/dist/configs/Localization.d.ts +45 -0
- package/dist/configs/Localization.js +4 -0
- package/dist/configs/localization/SentenceTexts.d.ts +47 -0
- package/dist/configs/localization/SentenceTexts.js +47 -0
- package/dist/configs/mock/MockStructs.d.ts +4 -0
- package/dist/configs/mock/MockStructs.js +1135 -0
- package/dist/configs/types/EditionTiers.d.ts +12 -0
- package/dist/configs/types/EditionTiers.js +13 -0
- package/dist/configs/types/Parameter.d.ts +12 -0
- package/dist/configs/types/Parameter.js +1 -0
- package/dist/configs/types/Struct.d.ts +2 -2
- package/dist/functions/EditionTierUtils.d.ts +8 -0
- package/dist/functions/EditionTierUtils.js +32 -0
- package/dist/functions/SentenceUtils.d.ts +3 -0
- package/dist/functions/SentenceUtils.js +21 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
- package/dist/TreeView/types/TreeViewExample.d.ts +0 -3
- package/dist/TreeView/types/TreeViewExample.js +0 -455
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import EditionTierUtils from '../functions/EditionTierUtils';
|
|
4
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
5
|
+
import './style.scss';
|
|
6
|
+
export default function SentenceEditionTiers({ tokens }) {
|
|
7
|
+
const { t } = useTranslation('sentence');
|
|
8
|
+
const { skipToken } = SentenceUtils;
|
|
9
|
+
const { getIterateTiers, getEditionTierName, getEditionForToken } = EditionTierUtils;
|
|
10
|
+
return (_jsx(_Fragment, { children: getIterateTiers().map((tier, idx) => {
|
|
11
|
+
const key = getEditionTierName(tier);
|
|
12
|
+
return (_jsxs("tr", { className: "word-tier", children: [_jsx("td", { children: t(`label.tier.${key.toLowerCase()}`) }), tokens.map((thisToken, idy) => {
|
|
13
|
+
if (skipToken(thisToken)) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
const tierEdition = getEditionForToken(thisToken);
|
|
17
|
+
const value = (tierEdition?.ops || {})[tier] || '';
|
|
18
|
+
return (_jsx("td", { className: "text-center", colSpan: thisToken.splits ? thisToken.splits.length : 1, children: _jsx("span", { className: value ? '' : 'empty', children: value || t('label.empty') }) }, `${thisToken.p}_${idx.valueOf()}_${idy.valueOf()}`));
|
|
19
|
+
})] }, idx.valueOf()));
|
|
20
|
+
}) }));
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
4
|
+
export default function SentenceMorphemeTags({ tokens }) {
|
|
5
|
+
const { t } = useTranslation('sentence');
|
|
6
|
+
const { skipToken } = SentenceUtils;
|
|
7
|
+
return (_jsxs("tr", { className: "tr-split", children: [_jsx("td", { children: t('label.tag') }), tokens.map((thisToken, idx) => {
|
|
8
|
+
const elements = [];
|
|
9
|
+
if (!skipToken(thisToken)) {
|
|
10
|
+
if (thisToken.splits && thisToken.splits.length > 0) {
|
|
11
|
+
{
|
|
12
|
+
thisToken.splits.map((thisSplit, idy) => {
|
|
13
|
+
elements.push(_jsx("td", { children: _jsx("span", { className: thisSplit.t ? '' : 'empty', children: thisSplit.t || t('label.empty') }) }, `${idx.valueOf()}_${idy.valueOf()}`));
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
elements.push(_jsx("td", { className: "empty", children: "\u00A0" }, idx.valueOf()));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return elements;
|
|
22
|
+
})] }));
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Parameter } from '../configs/types/Parameter';
|
|
2
|
+
import { Struct } from '../configs/types/Struct';
|
|
3
|
+
import './style.scss';
|
|
4
|
+
type Props = {
|
|
5
|
+
struct: Struct;
|
|
6
|
+
morphemeTiers: Parameter[];
|
|
7
|
+
};
|
|
8
|
+
export default function SentenceMorphemeTiers({ struct, morphemeTiers, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
4
|
+
import SentenceMorphemeTags from './SentenceMorphemeTags';
|
|
5
|
+
import './style.scss';
|
|
6
|
+
export default function SentenceMorphemeTiers({ struct, morphemeTiers, }) {
|
|
7
|
+
const { t } = useTranslation(['sentence']);
|
|
8
|
+
const { skipToken } = SentenceUtils;
|
|
9
|
+
return (_jsxs(_Fragment, { children: [_jsxs("tr", { children: [_jsx("td", { children: t('label.morphemes') }), struct.tokens.map((thisToken, idx) => {
|
|
10
|
+
const elements = [];
|
|
11
|
+
if (!skipToken(thisToken)) {
|
|
12
|
+
if (thisToken.splits && thisToken.splits.length > 0) {
|
|
13
|
+
{
|
|
14
|
+
thisToken.splits.map((thisSplit, idy) => {
|
|
15
|
+
elements.push(_jsx("td", { className: "split", children: _jsx("span", { children: thisSplit.v }) }, `${idx.valueOf()}_${idy.valueOf()}`));
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
elements.push(_jsx("td", { className: "empty", children: "\u00A0" }, idx.valueOf()));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return elements;
|
|
24
|
+
})] }), _jsx(SentenceMorphemeTags, { tokens: struct.tokens }), morphemeTiers.map((tier, idx) => (_jsxs("tr", { className: "word-tier", children: [_jsx("td", { children: tier.name }), struct.tokens.map((thisToken, idy) => {
|
|
25
|
+
const elements = [];
|
|
26
|
+
if (!skipToken(thisToken)) {
|
|
27
|
+
if (thisToken.splits && thisToken.splits.length > 0) {
|
|
28
|
+
{
|
|
29
|
+
thisToken.splits.map((thisSplit, idz) => {
|
|
30
|
+
const value = thisSplit.attributes && thisSplit.attributes[tier.symbol];
|
|
31
|
+
elements.push(_jsx("td", { className: "text-center", children: _jsx("span", { className: value ? '' : 'empty', children: value || t('label.empty') }) }, `${idx.valueOf()}_${idy.valueOf()}_${idz.valueOf()}`));
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
elements.push(_jsx("td", { className: "empty", children: "\u00A0" }, idx.valueOf()));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return elements;
|
|
40
|
+
})] }, idx.valueOf())))] }));
|
|
41
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
4
|
+
export default function SentenceTags({ tokens }) {
|
|
5
|
+
const { t } = useTranslation('sentence');
|
|
6
|
+
const { skipToken, getColspan, getTag } = SentenceUtils;
|
|
7
|
+
return (_jsxs("tr", { children: [_jsx("td", { children: t('label.pos.tag') }), tokens.map((thisToken, idx) => {
|
|
8
|
+
const elements = [];
|
|
9
|
+
if (!skipToken(thisToken)) {
|
|
10
|
+
if (!thisToken.p && thisToken.mid) {
|
|
11
|
+
elements.push(_jsx("td", { className: "bg-light", colSpan: getColspan(thisToken), children: "\u00A0" }, `t_${idx.valueOf()}`));
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
const value = getTag(thisToken);
|
|
15
|
+
elements.push(_jsx("td", { className: "text-center", colSpan: getColspan(thisToken), children: _jsx("span", { className: value ? '' : 'empty', children: value || t('label.empty') }) }, `t_${idx.valueOf()}`));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return elements;
|
|
19
|
+
})] }));
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
4
|
+
export default function SentenceView({ tokens }) {
|
|
5
|
+
const { t } = useTranslation('sentence');
|
|
6
|
+
const { skipToken, getColspan } = SentenceUtils;
|
|
7
|
+
return (_jsxs("tr", { children: [_jsx("td", { children: t('label.word') }), tokens.map((thisToken, idx) => {
|
|
8
|
+
const elements = [];
|
|
9
|
+
if (!skipToken(thisToken)) {
|
|
10
|
+
elements.push(_jsx("td", { className: thisToken.eid ? 'edited' : '', colSpan: getColspan(thisToken), children: _jsx("span", { children: thisToken.split ? thisToken.split.v : thisToken.v }) }, `v_${idx.valueOf()}`));
|
|
11
|
+
}
|
|
12
|
+
return elements;
|
|
13
|
+
})] }));
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Parameter } from '../configs/types/Parameter';
|
|
2
|
+
import { Struct } from '../configs/types/Struct';
|
|
3
|
+
import './style.scss';
|
|
4
|
+
type Props = {
|
|
5
|
+
wordTiers: Parameter[];
|
|
6
|
+
morphemeTiers: Parameter[];
|
|
7
|
+
struct: Struct;
|
|
8
|
+
useMorphemes?: boolean;
|
|
9
|
+
useEditionTiers?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export default function SentenceView({ wordTiers, morphemeTiers, struct, useMorphemes, useEditionTiers, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
3
|
+
import SentenceEditionTiers from './SentenceEditionTiers';
|
|
4
|
+
import SentenceMorphemeTiers from './SentenceMorphemeTiers';
|
|
5
|
+
import SentenceTags from './SentenceTags';
|
|
6
|
+
import SentenceValues from './SentenceValues';
|
|
7
|
+
import SentenceWordTiers from './SentenceWordTiers';
|
|
8
|
+
import './style.scss';
|
|
9
|
+
export default function SentenceView({ wordTiers, morphemeTiers, struct, useMorphemes, useEditionTiers, }) {
|
|
10
|
+
const tokens = SentenceUtils.sort(struct);
|
|
11
|
+
return (_jsx("div", { className: "sentence-view-container", children: _jsx("div", { className: "body", children: _jsx("table", { className: "table table-striped", children: _jsxs("tbody", { children: [_jsx(SentenceValues, { tokens: tokens }), _jsx(SentenceTags, { tokens: tokens }), useEditionTiers && _jsx(SentenceEditionTiers, { tokens: tokens }), wordTiers && (_jsx(SentenceWordTiers, { tokens: tokens, wordTiers: wordTiers })), useMorphemes && morphemeTiers && (_jsx(SentenceMorphemeTiers, { struct: struct, morphemeTiers: morphemeTiers }))] }) }) }) }));
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Parameter } from '../configs/types/Parameter';
|
|
2
|
+
import { Token } from '../configs/types/Struct';
|
|
3
|
+
type Props = {
|
|
4
|
+
tokens: Token[];
|
|
5
|
+
wordTiers: Parameter[];
|
|
6
|
+
};
|
|
7
|
+
export default function SentenceWordTiers({ tokens, wordTiers }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import SentenceUtils from '../functions/SentenceUtils';
|
|
4
|
+
export default function SentenceWordTiers({ tokens, wordTiers }) {
|
|
5
|
+
const { t } = useTranslation('sentence');
|
|
6
|
+
const { skipToken } = SentenceUtils;
|
|
7
|
+
return (_jsx(_Fragment, { children: wordTiers.map((tier, idx) => (_jsxs("tr", { className: "word-tier", children: [_jsx("td", { children: tier.name }), tokens.map((thisToken, idy) => {
|
|
8
|
+
if (!skipToken(thisToken)) {
|
|
9
|
+
const value = (thisToken.attributes && thisToken.attributes[tier.symbol]) ||
|
|
10
|
+
'';
|
|
11
|
+
return (_jsx("td", { className: "text-center", colSpan: thisToken.splits ? thisToken.splits.length : 1, children: _jsx("span", { className: value ? '' : 'empty', children: value || t('label.empty') }) }, idy.valueOf()));
|
|
12
|
+
}
|
|
13
|
+
return null;
|
|
14
|
+
})] }, idx.valueOf()))) }));
|
|
15
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.sentence-view-container {
|
|
2
|
+
.body {
|
|
3
|
+
overflow-x: scroll;
|
|
4
|
+
overflow-y: hidden;
|
|
5
|
+
margin-left: 8vw;
|
|
6
|
+
|
|
7
|
+
.table {
|
|
8
|
+
width: 100%;
|
|
9
|
+
margin-bottom: 8px;
|
|
10
|
+
font-size: var(--font-size-medium);
|
|
11
|
+
|
|
12
|
+
tbody {
|
|
13
|
+
tr {
|
|
14
|
+
td {
|
|
15
|
+
padding: 2px;
|
|
16
|
+
min-width: 5vw;
|
|
17
|
+
text-align: center;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
border: 1px solid var(--color-primary-alternative);
|
|
20
|
+
line-height: 32px;
|
|
21
|
+
|
|
22
|
+
&.edited {
|
|
23
|
+
background-color: #fdfdd7;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:first-child {
|
|
27
|
+
position: absolute;
|
|
28
|
+
background-color: #fff;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
font-weight: bolder;
|
|
31
|
+
width: 8vw;
|
|
32
|
+
border: none;
|
|
33
|
+
left: 0;
|
|
34
|
+
top: auto;
|
|
35
|
+
cursor: default;
|
|
36
|
+
margin-left: 12px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.split {
|
|
40
|
+
.dot {
|
|
41
|
+
border: none;
|
|
42
|
+
float: right;
|
|
43
|
+
padding: 1px 1px 0px;
|
|
44
|
+
display: flex;
|
|
45
|
+
|
|
46
|
+
svg {
|
|
47
|
+
height: 10px;
|
|
48
|
+
width: 10px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-width: 768px) and (max-width: 1600px) {
|
|
60
|
+
.sentence-view-container {
|
|
61
|
+
.body {
|
|
62
|
+
margin-left: 12vw;
|
|
63
|
+
.table {
|
|
64
|
+
width: 2000px;
|
|
65
|
+
overflow-y: auto;
|
|
66
|
+
|
|
67
|
+
tbody tr td:first-child {
|
|
68
|
+
width: 12vw;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -141,6 +141,21 @@ export declare const commonResources: {
|
|
|
141
141
|
'placeholder.sentence.notparsed': string;
|
|
142
142
|
'date.parsed': string;
|
|
143
143
|
};
|
|
144
|
+
sentence: {
|
|
145
|
+
'label.word': string;
|
|
146
|
+
'label.pos.tag': string;
|
|
147
|
+
'label.tag': string;
|
|
148
|
+
'label.morphemes': string;
|
|
149
|
+
'label.empty': string;
|
|
150
|
+
'label.tier.spelling': string;
|
|
151
|
+
'label.tier.expansion': string;
|
|
152
|
+
'label.tier.correction': string;
|
|
153
|
+
'label.tier.punctuation': string;
|
|
154
|
+
'label.tier.illegible': string;
|
|
155
|
+
'label.tier.modernization': string;
|
|
156
|
+
'label.tier.padronization': string;
|
|
157
|
+
'label.tier.inflection': string;
|
|
158
|
+
};
|
|
144
159
|
upload: {
|
|
145
160
|
'label.dropzone': string;
|
|
146
161
|
'label.uploaded.file': string;
|
|
@@ -280,6 +295,21 @@ export declare const commonResources: {
|
|
|
280
295
|
'modal.input.name': string;
|
|
281
296
|
'participant.code.exists': string;
|
|
282
297
|
};
|
|
298
|
+
sentence: {
|
|
299
|
+
'label.word': string;
|
|
300
|
+
'label.pos.tag': string;
|
|
301
|
+
'label.tag': string;
|
|
302
|
+
'label.morphemes': string;
|
|
303
|
+
'label.empty': string;
|
|
304
|
+
'label.tier.spelling': string;
|
|
305
|
+
'label.tier.expansion': string;
|
|
306
|
+
'label.tier.correction': string;
|
|
307
|
+
'label.tier.punctuation': string;
|
|
308
|
+
'label.tier.illegible': string;
|
|
309
|
+
'label.tier.modernization': string;
|
|
310
|
+
'label.tier.padronization': string;
|
|
311
|
+
'label.tier.inflection': string;
|
|
312
|
+
};
|
|
283
313
|
tree: {
|
|
284
314
|
'button.expand.tree': string;
|
|
285
315
|
'button.recenter.tree': string;
|
|
@@ -429,6 +459,21 @@ export declare const commonResources: {
|
|
|
429
459
|
'modal.select.transfer': string;
|
|
430
460
|
'participant.code.exists': string;
|
|
431
461
|
};
|
|
462
|
+
sentence: {
|
|
463
|
+
'label.word': string;
|
|
464
|
+
'label.pos.tag': string;
|
|
465
|
+
'label.tag': string;
|
|
466
|
+
'label.morphemes': string;
|
|
467
|
+
'label.empty': string;
|
|
468
|
+
'label.tier.spelling': string;
|
|
469
|
+
'label.tier.expansion': string;
|
|
470
|
+
'label.tier.correction': string;
|
|
471
|
+
'label.tier.punctuation': string;
|
|
472
|
+
'label.tier.illegible': string;
|
|
473
|
+
'label.tier.modernization': string;
|
|
474
|
+
'label.tier.padronization': string;
|
|
475
|
+
'label.tier.inflection': string;
|
|
476
|
+
};
|
|
432
477
|
tree: {
|
|
433
478
|
'button.expand.tree': string;
|
|
434
479
|
'button.recenter.tree': string;
|
|
@@ -7,6 +7,7 @@ import { HeaderTexts } from './localization/HeaderTexts';
|
|
|
7
7
|
import { ParticipantsTexts } from './localization/ParticipantsTexts';
|
|
8
8
|
import { UploadTexts } from './localization/UploadTexts';
|
|
9
9
|
import { TreeTexts } from './localization/TreeTexts';
|
|
10
|
+
import { SentenceTexts } from './localization/SentenceTexts';
|
|
10
11
|
export const commonResources = {
|
|
11
12
|
en: {
|
|
12
13
|
comments: CommentsTexts.en,
|
|
@@ -14,6 +15,7 @@ export const commonResources = {
|
|
|
14
15
|
header: HeaderTexts.en,
|
|
15
16
|
participants: ParticipantsTexts.en,
|
|
16
17
|
tree: TreeTexts.en,
|
|
18
|
+
sentence: SentenceTexts.en,
|
|
17
19
|
upload: UploadTexts.en,
|
|
18
20
|
},
|
|
19
21
|
'pt-BR': {
|
|
@@ -21,6 +23,7 @@ export const commonResources = {
|
|
|
21
23
|
common: CommonTexts['pt-BR'],
|
|
22
24
|
header: HeaderTexts['pt-BR'],
|
|
23
25
|
participants: ParticipantsTexts['pt-BR'],
|
|
26
|
+
sentence: SentenceTexts['pt-BR'],
|
|
24
27
|
tree: TreeTexts['pt-BR'],
|
|
25
28
|
upload: UploadTexts['pt-BR'],
|
|
26
29
|
},
|
|
@@ -29,6 +32,7 @@ export const commonResources = {
|
|
|
29
32
|
common: CommonTexts.it,
|
|
30
33
|
header: HeaderTexts.it,
|
|
31
34
|
participants: ParticipantsTexts.it,
|
|
35
|
+
sentence: SentenceTexts.it,
|
|
32
36
|
tree: TreeTexts.it,
|
|
33
37
|
upload: UploadTexts.it,
|
|
34
38
|
},
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const SentenceTexts: {
|
|
2
|
+
en: {
|
|
3
|
+
'label.word': string;
|
|
4
|
+
'label.pos.tag': string;
|
|
5
|
+
'label.tag': string;
|
|
6
|
+
'label.morphemes': string;
|
|
7
|
+
'label.empty': string;
|
|
8
|
+
'label.tier.spelling': string;
|
|
9
|
+
'label.tier.expansion': string;
|
|
10
|
+
'label.tier.correction': string;
|
|
11
|
+
'label.tier.punctuation': string;
|
|
12
|
+
'label.tier.illegible': string;
|
|
13
|
+
'label.tier.modernization': string;
|
|
14
|
+
'label.tier.padronization': string;
|
|
15
|
+
'label.tier.inflection': string;
|
|
16
|
+
};
|
|
17
|
+
'pt-BR': {
|
|
18
|
+
'label.word': string;
|
|
19
|
+
'label.pos.tag': string;
|
|
20
|
+
'label.tag': string;
|
|
21
|
+
'label.morphemes': string;
|
|
22
|
+
'label.empty': string;
|
|
23
|
+
'label.tier.spelling': string;
|
|
24
|
+
'label.tier.expansion': string;
|
|
25
|
+
'label.tier.correction': string;
|
|
26
|
+
'label.tier.punctuation': string;
|
|
27
|
+
'label.tier.illegible': string;
|
|
28
|
+
'label.tier.modernization': string;
|
|
29
|
+
'label.tier.padronization': string;
|
|
30
|
+
'label.tier.inflection': string;
|
|
31
|
+
};
|
|
32
|
+
it: {
|
|
33
|
+
'label.word': string;
|
|
34
|
+
'label.pos.tag': string;
|
|
35
|
+
'label.tag': string;
|
|
36
|
+
'label.morphemes': string;
|
|
37
|
+
'label.empty': string;
|
|
38
|
+
'label.tier.spelling': string;
|
|
39
|
+
'label.tier.expansion': string;
|
|
40
|
+
'label.tier.correction': string;
|
|
41
|
+
'label.tier.punctuation': string;
|
|
42
|
+
'label.tier.illegible': string;
|
|
43
|
+
'label.tier.modernization': string;
|
|
44
|
+
'label.tier.padronization': string;
|
|
45
|
+
'label.tier.inflection': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const SentenceTexts = {
|
|
2
|
+
en: {
|
|
3
|
+
'label.word': 'Word',
|
|
4
|
+
'label.pos.tag': 'POS Tag',
|
|
5
|
+
'label.tag': 'Tag',
|
|
6
|
+
'label.morphemes': 'Morphemes',
|
|
7
|
+
'label.empty': '-',
|
|
8
|
+
'label.tier.spelling': 'spelling',
|
|
9
|
+
'label.tier.expansion': 'expansion',
|
|
10
|
+
'label.tier.correction': 'correction',
|
|
11
|
+
'label.tier.punctuation': 'punctuation',
|
|
12
|
+
'label.tier.illegible': 'illegible',
|
|
13
|
+
'label.tier.modernization': 'modernization',
|
|
14
|
+
'label.tier.padronization': 'padronization',
|
|
15
|
+
'label.tier.inflection': 'inflection',
|
|
16
|
+
},
|
|
17
|
+
'pt-BR': {
|
|
18
|
+
'label.word': 'Palavra',
|
|
19
|
+
'label.pos.tag': 'Etiqueta POS',
|
|
20
|
+
'label.tag': 'Etiqueta',
|
|
21
|
+
'label.morphemes': 'Morfemas',
|
|
22
|
+
'label.empty': '-',
|
|
23
|
+
'label.tier.spelling': 'grafia',
|
|
24
|
+
'label.tier.expansion': 'expansão',
|
|
25
|
+
'label.tier.correction': 'correção',
|
|
26
|
+
'label.tier.punctuation': 'pontuação',
|
|
27
|
+
'label.tier.illegible': 'ilegível',
|
|
28
|
+
'label.tier.modernization': 'modernização',
|
|
29
|
+
'label.tier.padronization': 'padronização',
|
|
30
|
+
'label.tier.inflection': 'flexão',
|
|
31
|
+
},
|
|
32
|
+
it: {
|
|
33
|
+
'label.word': 'Parola',
|
|
34
|
+
'label.pos.tag': 'Etichetta POS',
|
|
35
|
+
'label.tag': 'Etichetta',
|
|
36
|
+
'label.morphemes': 'Morfemi',
|
|
37
|
+
'label.empty': '-',
|
|
38
|
+
'label.tier.spelling': 'ortografia',
|
|
39
|
+
'label.tier.expansion': 'espansione',
|
|
40
|
+
'label.tier.correction': 'correzione',
|
|
41
|
+
'label.tier.punctuation': 'punteggiatura',
|
|
42
|
+
'label.tier.illegible': 'illeggibile',
|
|
43
|
+
'label.tier.modernization': 'modernizzazione',
|
|
44
|
+
'label.tier.padronization': 'standardizzazione',
|
|
45
|
+
'label.tier.inflection': 'flessione',
|
|
46
|
+
},
|
|
47
|
+
};
|