Dear Kannnan,
To answer your questions:
There is no app folder to open that one?
>>Currently, you shall open the project from the "iink_sdk-additional-examples-android/java" directory.
As per you said, if I have a 5 columns so i must have a 5 editor engines?
>>Yes, this will be the easiest and fastest way to proceed.
Best regards,
Olivier
Hi,
Actually i want to solve that issue(Automatically correct the previous word - Already shared that video with you).
So i try "TEXT DOUMENT" part instead of "TEXT" part.
It has different text blocks so i think second text blocks result was not affect the first text blocks result.
But first text blocks result was changed by based on the second text blocks.
Please refer the following attachment(Video) ,
https://drive.google.com/open?id=1-5Szkowu4f582SzMjjHUugwOQX833SHW
Dear Kannan,
in your current video, 2 things cause the "Dolo 650 mg" being changed:
-The ink goes slightly up
-When going back to your first line, you tap a dot
Both reasons concur to this.
On our side, nothing can be done to prevent from this. What we learned over time is to communicate with the user, who in the end will "learn to write" accordign to our technology, i.e. he will write on lines, and adapt his handwriting so such behavior will occur rarely.
Best regards,
Olivier
Hi,
As per you said ,
>>Currently, you shall open the project from the "iink_sdk-additional-examples-android/java" directory.
But now also i can't run that project.
Because there is no project file directory "iink_sdk-additional-examples-android/java".
I can't find that path from my downloaded project file.
Can i get the full path for this directory? or Can i get the class name for the exact file which one was implemented a multiple editor engine in "TEXT" part?
Dear Kannan,
Just open the proper location, as shown in the above screenshot, and all the packages shoudl load properly.
After loading, you should see the above packages. If not, then try to load from other directory.
This rather looks like Android Studio issues on your side, not MyScript issues. Please investigate by yourself.
Best regards,
Olivier
Hi,
Thanks for your response.
Can you please mention that class name which one was hold the multiple editor engines's functions?
Dear Kannan,
please refer to the MainActivity.java of the exercise-assessment sample:
https://github.com/MyScript/interactive-ink-additional-examples-android/blob/master/java/samples/exercise-assessment/src/main/java/com/myscript/iink/sample/assessment/activities/MainActivity.java
Best regards,
Olivier
Dear Kannan,
Currently, the answer is the same than in the topic you created 3 weeks ago: https://developer-support.myscript.com/support/discussions/topics/16000027802
Do you leave enough space in between? Is the ink properly written? If that case, indeed there is no reason recognition is not correct.
On our side, we have no possibility to remove the "lexical attraction", but if ink is properly written, there should not have major issues.
Best regards,
Olivier
Hi Oliver,
Yes i leave enough space between them.INK is also properly written.
May i know my script should auto correct the previous word while i'm writing a new word.?
Because that was my problem.
Ex:
When i'm writing "Dolo 650mg" it should be converted correctly.But i go to write the next word ("Tab") that previous word "Dolo 650mg" converted into the "Dolo broong".
My issue was why that correctly converted previous word was change into to new one while i'm writing next one.
How can i stop that?
Dear Kannan,
Can I have the configuration of your "text" part, and the lexicon you attach (the res file, so that I can see on my side).
For example, here is the default configuration:
Name: text Type: Text Configuration-Script: AddResource en_US/en_US-ak-cur.res AddResource en_US/en_US-lk-text.res EnableAlienCharacters SetTextListSize 1 SetWordListSize 5 SetCharListSize 1
Best regards,
Olivier
Hi,
Thanks for your response.
Sure My lexicon part code was:
Name: medicinecustom
Type: Text
Configuration-Script:
AddResource en_US/en_US-ak-cur.res
AddResource en_US/HandwritingDrugfile1.res
AddResource en_US/HandwritingDrugfile2.res
AddResource en_US/HandwritingDrugfile3.res
AddResource en_US/HW_Extraroutfreanddays.res
AddResource en_US/HWRouteTabFre.res
AddResource en_US/en_US-lk-text.res
EnableAlienCharacters
SetTextListSize 1
SetWordListSize 5
SetCharListSize 1
My Lexicon Files google download link was following there,
...
Dear Kannan,
I tried with your configuration and the corresponding resources, which I set under our "getStarted" sample, and it works fine, I am not able to reproduce the behavior you are facing.
Do you properly set the margins of your field? Is the field "large enough"? Is the resolution properly set?...
Would it be possible to have a video, this may help understand.
Best regards,
Olivier
Hi,
I refer that code which you share via github link.(Android) https://github.com/MyScript/interactive-ink-additional-examples-android/blob/master/java/samples/exercise-assessment/src/main/java/com/myscript/iink/sample/assessment/activities/MainActivity.java
Now i configured that same setup in iOS.
My issue was,
i have created the two Editor Views(ediorview(editorviewcontller1 and editorviewcontroller2)
I have configure the two EditorViews following code:
func setHandWriting(){
if let appDelegate = UIApplication.shared.delegate as? AppDelegate {
if (appDelegate.engine == nil)
{
let alert = UIAlertController(title: "Certificate error",
message: appDelegate.engineErrorMessage,
preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "OK",
style: UIAlertAction.Style.default,
handler: {(action: UIAlertAction) -> Void in
exit(1)
}))
self.present(alert, animated: true, completion: nil)
return
}
}
editorViewController.engine = appDelegate.engine
editorViewController1.engine = appDelegate.engine
editorViewController.inputMode = .forcePen
editorViewController1.inputMode = .forcePen
do {
if let package = try createPackage(packageName: "New") {
try editorViewController.editor.part = package.getPartAt(0)
try editorViewController1.editor.part = package.getPartAt(0)
}
} catch {
print("Error while creating package1 : " + error.localizedDescription)
}
editorViewController.editor.delegate = self
editorViewController1.editor.delegate = self
}
But my second Editor view (Editorviewcontroller2) was not working(Can't able to write anything in that).
First Editor view(EditorViewController1) was working fine.(it's able to write anything in that)
Second Editor View was not working.(Even that lines are also not show)
How can i resolve that?
Hi,
I have not set any margin.yes, that filed is set to size enough.
I have share my video's link following there,
https://drive.google.com/open?id=1402o4eUKmTWod_6TLJ0OWY45YQRf68lN
Kannan Balasubramanian
I'm not getting the exact content which i written on the writing area.
Ex:
If i wrote "Dolo 650mg" and then when i continue further as "Tab" then the previous letter which i wrote "Dolo 650mg" was turned into "Dolo broong",Because of this issue we would like to turn off the grammatical auto correction,To get the exact result."Tab" is properly recognized but "Dolo 650mg" is turned into "Dolo broong".
Let us know how to switch off the grammatical auto correction only?