native-textcheck
v0.1.4
Published
Quick plugin that allows you to spellcheck or utilize next-word predictions from native libraries.
Downloads
6
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 sync
API
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 |