@atlaskit/editor-plugin-autocomplete 5.0.0 → 7.0.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 +20 -0
- package/build/tsconfig.json +2 -1
- package/dist/cjs/analytics/ufo.js +3 -2
- package/dist/cjs/pm-plugins/artifacts-manifest.js +210 -0
- package/dist/cjs/pm-plugins/autocomplete-plugin.js +10 -2
- package/dist/cjs/pm-plugins/local-slow-lane-client.js +68 -153
- package/dist/cjs/pm-plugins/scoring-pipeline.js +130 -28
- package/dist/cjs/pm-plugins/text-predictor.js +45 -106
- package/dist/es2019/analytics/ufo.js +4 -2
- package/dist/es2019/pm-plugins/artifacts-manifest.js +126 -0
- package/dist/es2019/pm-plugins/autocomplete-plugin.js +10 -2
- package/dist/es2019/pm-plugins/local-slow-lane-client.js +8 -78
- package/dist/es2019/pm-plugins/scoring-pipeline.js +97 -21
- package/dist/es2019/pm-plugins/text-predictor.js +17 -59
- package/dist/esm/analytics/ufo.js +3 -2
- package/dist/esm/pm-plugins/artifacts-manifest.js +204 -0
- package/dist/esm/pm-plugins/autocomplete-plugin.js +10 -2
- package/dist/esm/pm-plugins/local-slow-lane-client.js +67 -148
- package/dist/esm/pm-plugins/scoring-pipeline.js +128 -26
- package/dist/esm/pm-plugins/text-predictor.js +45 -98
- package/dist/types/analytics/ufo.d.ts +1 -0
- package/dist/types/pm-plugins/artifacts-manifest.d.ts +55 -0
- package/dist/types/pm-plugins/autocomplete-plugin.d.ts +5 -11
- package/dist/types/pm-plugins/scoring-pipeline.d.ts +14 -0
- package/dist/types/pm-plugins/text-predictor.d.ts +0 -1
- package/package.json +3 -6
- package/src/analytics/ufo.ts +5 -0
- package/src/pm-plugins/artifacts-manifest.ts +151 -0
- package/src/pm-plugins/autocomplete-plugin.ts +14 -12
- package/src/pm-plugins/local-slow-lane-client.ts +10 -92
- package/src/pm-plugins/scoring-pipeline.ts +115 -23
- package/src/pm-plugins/text-predictor.ts +26 -76
- package/tsconfig.json +3 -6
- package/dist/cjs/pm-plugins/data/combined_l2_l3_pos_tags.json +0 -73571
- package/dist/cjs/pm-plugins/data/first_token_to_words.json +0 -1
- package/dist/cjs/pm-plugins/data/ghost_pos_tags.json +0 -43
- package/dist/cjs/pm-plugins/data/grammar_transitions_10k.json +0 -46
- package/dist/cjs/pm-plugins/data/l3_vocabulary.json +0 -20002
- package/dist/cjs/pm-plugins/data/vocabulary_10k.json +0 -38794
- package/dist/cjs/pm-plugins/data/word_index_10k.json +0 -7762
- package/dist/es2019/pm-plugins/data/combined_l2_l3_pos_tags.json +0 -73571
- package/dist/es2019/pm-plugins/data/first_token_to_words.json +0 -1
- package/dist/es2019/pm-plugins/data/ghost_pos_tags.json +0 -43
- package/dist/es2019/pm-plugins/data/grammar_transitions_10k.json +0 -46
- package/dist/es2019/pm-plugins/data/l3_vocabulary.json +0 -20002
- package/dist/es2019/pm-plugins/data/vocabulary_10k.json +0 -38794
- package/dist/es2019/pm-plugins/data/word_index_10k.json +0 -7762
- package/dist/esm/pm-plugins/data/combined_l2_l3_pos_tags.json +0 -73571
- package/dist/esm/pm-plugins/data/first_token_to_words.json +0 -1
- package/dist/esm/pm-plugins/data/ghost_pos_tags.json +0 -43
- package/dist/esm/pm-plugins/data/grammar_transitions_10k.json +0 -46
- package/dist/esm/pm-plugins/data/l3_vocabulary.json +0 -20002
- package/dist/esm/pm-plugins/data/vocabulary_10k.json +0 -38794
- package/dist/esm/pm-plugins/data/word_index_10k.json +0 -7762
- package/src/pm-plugins/data/combined_l2_l3_pos_tags.json +0 -73571
- package/src/pm-plugins/data/first_token_to_words.json +0 -1
- package/src/pm-plugins/data/ghost_pos_tags.json +0 -43
- package/src/pm-plugins/data/grammar_transitions_10k.json +0 -46
- package/src/pm-plugins/data/l3_vocabulary.json +0 -20002
- package/src/pm-plugins/data/vocabulary_10k.json +0 -38794
- package/src/pm-plugins/data/word-vectors_10k.bin +0 -3
- package/src/pm-plugins/data/word_index_10k.json +0 -7762
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"a": ["DET"], "an": ["DET"], "the": ["DET"],
|
|
3
|
-
"this": ["DET", "PRON"], "that": ["DET", "PRON", "SCONJ"],
|
|
4
|
-
"these": ["DET", "PRON"], "those": ["DET", "PRON"],
|
|
5
|
-
|
|
6
|
-
"my": ["DET"], "your": ["DET"], "his": ["DET"], "her": ["DET"],
|
|
7
|
-
"its": ["DET"], "our": ["DET"], "their": ["DET"],
|
|
8
|
-
|
|
9
|
-
"in": ["ADP"], "on": ["ADP"], "at": ["ADP"], "for": ["ADP"],
|
|
10
|
-
"with": ["ADP"], "about": ["ADP"], "of": ["ADP"], "by": ["ADP"],
|
|
11
|
-
"from": ["ADP"], "as": ["ADP", "SCONJ"], "into": ["ADP"],
|
|
12
|
-
"through": ["ADP"], "after": ["ADP"], "over": ["ADP"],
|
|
13
|
-
"between": ["ADP"], "out": ["ADP"], "against": ["ADP"],
|
|
14
|
-
"during": ["ADP"], "without": ["ADP"], "before": ["ADP"],
|
|
15
|
-
"under": ["ADP"], "around": ["ADP"], "among": ["ADP"],
|
|
16
|
-
|
|
17
|
-
"to": ["PART", "ADP"],
|
|
18
|
-
"not": ["PART", "ADV"],
|
|
19
|
-
|
|
20
|
-
"i": ["PRON"], "you": ["PRON"], "he": ["PRON"], "she": ["PRON"],
|
|
21
|
-
"it": ["PRON"], "we": ["PRON"], "they": ["PRON"],
|
|
22
|
-
"me": ["PRON"], "him": ["PRON"], "us": ["PRON"], "them": ["PRON"],
|
|
23
|
-
"what": ["PRON"], "who": ["PRON"], "which": ["PRON"], "whom": ["PRON"],
|
|
24
|
-
|
|
25
|
-
"and": ["CCONJ"], "or": ["CCONJ"], "but": ["CCONJ"],
|
|
26
|
-
"so": ["ADV", "CCONJ"], "because": ["SCONJ"], "if": ["SCONJ"],
|
|
27
|
-
"when": ["SCONJ", "ADV"], "while": ["SCONJ"], "although": ["SCONJ"],
|
|
28
|
-
"though": ["SCONJ"], "since": ["SCONJ", "ADP"], "unless": ["SCONJ"],
|
|
29
|
-
|
|
30
|
-
"is": ["VERB"], "am": ["VERB"], "are": ["VERB"], "was": ["VERB"],
|
|
31
|
-
"were": ["VERB"], "be": ["VERB"], "been": ["VERB"],
|
|
32
|
-
"has": ["VERB"], "have": ["VERB"], "had": ["VERB"],
|
|
33
|
-
"do": ["VERB"], "does": ["VERB"], "did": ["VERB"],
|
|
34
|
-
|
|
35
|
-
"can": ["VERB"], "could": ["VERB"], "will": ["VERB"], "would": ["VERB"],
|
|
36
|
-
"shall": ["VERB"], "should": ["VERB"], "may": ["VERB"], "might": ["VERB"],
|
|
37
|
-
"must": ["VERB"],
|
|
38
|
-
|
|
39
|
-
"very": ["ADV"], "too": ["ADV"], "always": ["ADV"], "never": ["ADV"],
|
|
40
|
-
"just": ["ADV"], "really": ["ADV"], "also": ["ADV"], "only": ["ADV"],
|
|
41
|
-
"well": ["ADV"], "even": ["ADV"], "still": ["ADV"], "now": ["ADV"],
|
|
42
|
-
"then": ["ADV"]
|
|
43
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"transitions": {
|
|
3
|
-
"DET": {
|
|
4
|
-
"allowed": ["NOUN", "ADJ", "PROPN"],
|
|
5
|
-
"note": "Determiners (a, the) must be followed by a noun or an adjective describing a noun."
|
|
6
|
-
},
|
|
7
|
-
"ADP": {
|
|
8
|
-
"allowed": ["NOUN", "DET", "ADJ", "PROPN"],
|
|
9
|
-
"note": "Prepositions (of, in) usually lead to a noun phrase."
|
|
10
|
-
},
|
|
11
|
-
"VERB": {
|
|
12
|
-
"allowed": ["NOUN", "DET", "ADJ", "ADP", "ADV", "PROPN", "VERB"]
|
|
13
|
-
},
|
|
14
|
-
"ADV": {
|
|
15
|
-
"allowed": ["VERB", "ADJ", "ADV", "ADP"],
|
|
16
|
-
"note": "Adverbs modify verbs (quickly run), adjectives (so frustrating), or other adverbs."
|
|
17
|
-
},
|
|
18
|
-
"CCONJ": {
|
|
19
|
-
"allowed": ["NOUN", "VERB", "ADJ", "ADV", "PRON", "PROPN", "DET"],
|
|
20
|
-
"note": "Conjunctions (and, but, or) can join almost any parallel structures."
|
|
21
|
-
},
|
|
22
|
-
"ADJ": {
|
|
23
|
-
"allowed": ["NOUN", "ADJ"],
|
|
24
|
-
"note": "Adjectives should almost always stack or end in a noun."
|
|
25
|
-
},
|
|
26
|
-
"NOUN": {
|
|
27
|
-
"allowed": ["VERB", "ADP", "CCONJ", "PUNCT", "NOUN"],
|
|
28
|
-
"note": "Nouns are usually followed by an action (verb) or a relationship (preposition)."
|
|
29
|
-
},
|
|
30
|
-
"PROPN": {
|
|
31
|
-
"allowed": ["VERB", "ADP", "CCONJ", "PUNCT", "NOUN", "PART"]
|
|
32
|
-
},
|
|
33
|
-
"PRON": {
|
|
34
|
-
"allowed": ["VERB", "ADV"],
|
|
35
|
-
"note": "Pronouns (I, we, it) are almost always followed by a verb."
|
|
36
|
-
},
|
|
37
|
-
"PART": {
|
|
38
|
-
"allowed": ["VERB", "ADV"],
|
|
39
|
-
"note": "Particles like 'to' or 'not' usually lead directly into a base verb or adverb (to demonstrate, not typing)."
|
|
40
|
-
},
|
|
41
|
-
"SCONJ": {
|
|
42
|
-
"allowed": ["PRON", "DET", "NOUN", "PROPN", "ADJ"],
|
|
43
|
-
"note": "Subordinating conjunctions (because, if, while) start new clauses, usually followed by a subject."
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|