@atlaskit/editor-plugin-autocomplete 4.0.5 → 4.0.7
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 +16 -0
- package/compass.yml +41 -0
- package/dist/cjs/pm-plugins/autocomplete-plugin.js +2 -0
- package/dist/cjs/pm-plugins/data/combined_l2_l3_pos_tags.json +73571 -0
- package/dist/cjs/pm-plugins/data/first_token_to_words.json +1 -0
- package/dist/cjs/pm-plugins/data/ghost_pos_tags.json +43 -0
- package/dist/cjs/pm-plugins/data/grammar_transitions_10k.json +46 -0
- package/dist/cjs/pm-plugins/data/l3_vocabulary.json +20002 -0
- package/dist/cjs/pm-plugins/data/vocabulary_10k.json +38794 -0
- package/dist/cjs/pm-plugins/data/word_index_10k.json +7762 -0
- package/dist/es2019/pm-plugins/autocomplete-plugin.js +2 -0
- package/dist/es2019/pm-plugins/data/combined_l2_l3_pos_tags.json +73571 -0
- package/dist/es2019/pm-plugins/data/first_token_to_words.json +1 -0
- package/dist/es2019/pm-plugins/data/ghost_pos_tags.json +43 -0
- package/dist/es2019/pm-plugins/data/grammar_transitions_10k.json +46 -0
- package/dist/es2019/pm-plugins/data/l3_vocabulary.json +20002 -0
- package/dist/es2019/pm-plugins/data/vocabulary_10k.json +38794 -0
- package/dist/es2019/pm-plugins/data/word_index_10k.json +7762 -0
- package/dist/esm/pm-plugins/autocomplete-plugin.js +2 -0
- package/dist/esm/pm-plugins/data/combined_l2_l3_pos_tags.json +73571 -0
- package/dist/esm/pm-plugins/data/first_token_to_words.json +1 -0
- package/dist/esm/pm-plugins/data/ghost_pos_tags.json +43 -0
- package/dist/esm/pm-plugins/data/grammar_transitions_10k.json +46 -0
- package/dist/esm/pm-plugins/data/l3_vocabulary.json +20002 -0
- package/dist/esm/pm-plugins/data/vocabulary_10k.json +38794 -0
- package/dist/esm/pm-plugins/data/word_index_10k.json +7762 -0
- package/dist/types/pm-plugins/autocomplete-plugin.d.ts +5 -5
- package/package.json +8 -11
- package/src/pm-plugins/autocomplete-plugin.ts +7 -5
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
}
|