Answered by:
Need a way to include large medical dictionary in a Windows 8 app

Question
-
I'm currently in the process of building a large Windows 8 line of business app for a medical organization that needs a custom medical dictionary for spell checking. We've looked into adding a custom.dic to the C:\Users\{User}\AppData\Roaming\Microsoft\Spelling\en-US folder, and while this works there seems to be a size constraint.
Does anyone have any advice on how to overcome this or thought on a third party that might make this easier?
Thursday, September 12, 2013 1:43 PM
Answers
-
Hi,
There is no direct API to make auto-spell checking in windows 8. You can implements WINRT component wrapper over C++ SpellChecker library which can be used for basic spelling checks.
Here is a sample you can refer to:
http://code.msdn.microsoft.com/windowsapps/SpellChecker-C-9cbafc40
Best Wishes!
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by P. Stewart Monday, September 30, 2013 9:05 PM
Tuesday, September 17, 2013 2:13 AM
All replies
-
Hi,
You are right, there are general size restriction on roaming data stored.
I suggest you can try these methods:
1. You can use Webservice to store and access your file.
2. You can add the file to your project and make the file contain in package.
3. You can let user download the file in Documentlibrary, and make your app can use Storage class or FilePicker to access the file.
Best Wishes!
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Edited by Anne Jing Friday, September 13, 2013 5:09 AM from
Friday, September 13, 2013 5:09 AM -
I was hoping to be able to incorporate the spelling dictionary into Windows 8's auto-spell check so I would have to implement any custom code for this functionality. Do you know if this is still possible given the methods you described?Friday, September 13, 2013 1:23 PM
-
Hi,
There is no direct API to make auto-spell checking in windows 8. You can implements WINRT component wrapper over C++ SpellChecker library which can be used for basic spelling checks.
Here is a sample you can refer to:
http://code.msdn.microsoft.com/windowsapps/SpellChecker-C-9cbafc40
Best Wishes!
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by P. Stewart Monday, September 30, 2013 9:05 PM
Tuesday, September 17, 2013 2:13 AM -
We have the exact same requirement of providing a large dictionary of medical terms into a Windows 8.1 Store app. Could you please point me to the right direction in terms of documentation on the SpellChecker API?
I have already seen the solution in this thread (http://code.msdn.microsoft.com/windowsapps/SpellChecker-C-9cbafc40) and the code samples for Spell Check Provider (http://code.msdn.microsoft.com/windowsdesktop/Spell-checking-provider-4cbec195/) and Spell Check Client (http://code.msdn.microsoft.com/windowsdesktop/Spell-checking-client-aea0148c).
But I am still clueless as to how to make the dictionary look into an additional file of valid terms apart from the regular en-US built-in terms.
Thank you!
- Edited by Floyd Pink Friday, February 7, 2014 10:27 PM made the links clickable
Friday, February 7, 2014 10:19 PM