Text

custom dictionary

Hey there,

we're evaluating myscript single character widget with the provided sample activity. Is it possible to use a custom dictionary to get the word candidates?

Best
Flo

1 Comment

Dear Flo,

Thank you for contacting us.

You can add your custom lexicon using the setUserLexicon function.

Here is an example:
String[] myLexicon = {word1, word2};
mWidget.setUserLexicon(myLexicon);

Afer setting the lexicon, ensure to call again the configure function, as explained in the API documentation.

Best regards,

Olivier

Login or Signup to post a comment