native-textcheck
v0.1.5
Published
Quick plugin that allows you to spellcheck or utilize next-word predictions from native libraries.
Readme
native-textcheck
Quick plugin that allows you to spellcheck or utilize next-word predictions from native libraries.
Install
npm install native-textcheck
npx cap syncAPI
getChecks(...)
getChecks(options: RetrievalOptions) => Promise<RetrievalResult>| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options | RetrievalOptions |
Returns: Promise<RetrievalResult>
Interfaces
RetrievalResult
| Prop | Type |
| ------------- | ----------------------------------------------- |
| ok | boolean |
| msg | string |
| results | NTCChecks |
NTCChecks
| Prop | Type |
| ----------------- | --------------------- |
| spellcheck | string[] |
| predictions | string[] |
RetrievalOptions
| Prop | Type |
| ----------------- | -------------------- |
| base | string |
| spellcheck | boolean |
| predictions | boolean |
