115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
-
-
+
+
+
|
}
For the last event, `oResult` will be `null`.
### Parse text and get errors
oGrammalecteAPI.parseText(text, "node_id")
oGrammalecteAPI.parseText(text, node)
oGrammalecteAPI.parseText("your text", "node_id")
oGrammalecteAPI.parseText("your text", node)
The node must have an identifier.
Like with `oGrammalecteAPI.parseNode()`, results (for each paragraph) will be sent in a succession of events at the node.
### Get spelling suggestions
oGrammalecteAPI.getSpellingSuggestions(word, destination)
oGrammalecteAPI.getSpellingSuggestions(word, destination, request_identifier)
Parameters:
- word (string)
- destination: node_id (string)
|