how to ignore character while running spellcheck
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 99
- Joined: Fri Jul 01, 2022 12:08 pm
how to ignore character while running spellcheck
Post by shikhar_472 »
Hi Team,
while running perform full spellcheck method how to ignore the characters,
in below image bracket is there in between the word so word is coming as mak while running spell check but it should take the whole word
Could you please help.
while running perform full spellcheck method how to ignore the characters,
in below image bracket is there in between the word so word is coming as mak while running spell check but it should take the whole word
Could you please help.
image.png
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: how to ignore character while running spellcheck
Post by Bogdan Dumitru »
Hello,
Could you please elaborate a little on this part: "word is coming as mak while running spell check but it should take the whole word"?
Could you please elaborate a little on this part: "word is coming as mak while running spell check but it should take the whole word"?
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 99
- Joined: Fri Jul 01, 2022 12:08 pm
Re: how to ignore character while running spellcheck
Post by shikhar_472 »
Word is makers but taking only mak and not ignoring the brackets,
Please see the image for reference
Please see the image for reference
image.png
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: how to ignore character while running spellcheck
Post by Bogdan Dumitru »
Hello,
What does "mark[ers]" mean? How do you expect/want the spellcheck to handle those words?
What does "mark[ers]" mean? How do you expect/want the spellcheck to handle those words?
- the "[]" marks an added text, somewhat like the Insert Change Tracking.
- the spellcheck should report "mark[ers]" as misspelled and propose to replace it with "markers"?
- the spellcheck should report "mark[ers]" as correctly spelled instead of reporting "mark" as misspelled?
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 99
- Joined: Fri Jul 01, 2022 12:08 pm
Re: how to ignore character while running spellcheck
Post by shikhar_472 »
Hi Dumitru,
the spellcheck should report "mark[ers]" as misspelled and propose to replace it with "markers"?
i want to achieve this.
Thanks for the quick reply.
the spellcheck should report "mark[ers]" as misspelled and propose to replace it with "markers"?
i want to achieve this.
Thanks for the quick reply.
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: how to ignore character while running spellcheck
Post by Bogdan Dumitru »
Hi,
Unfortunately, the built-in spellcheck support doesn't allow that but I guess that can be achieved by implementing a ro.sync.ecss.extensions.api.webapp.SpellcheckingEngine and setting via AuthorDocumentModel.getSpellchecker().setSpellcheckingEngine().
To intercept every AuthorDocumentModel opened you can use a WebappEditingSessionLifecycleListener.
Unfortunately, the built-in spellcheck support doesn't allow that but I guess that can be achieved by implementing a ro.sync.ecss.extensions.api.webapp.SpellcheckingEngine and setting via AuthorDocumentModel.getSpellchecker().setSpellcheckingEngine().
To intercept every AuthorDocumentModel opened you can use a WebappEditingSessionLifecycleListener.
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 99
- Joined: Fri Jul 01, 2022 12:08 pm
Re: how to ignore character while running spellcheck
Post by shikhar_472 »
Could you please provide example for this how to do that
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: how to ignore character while running spellcheck
Post by cristi_talau »
Hello,
Unfortunately we do not have a public sample on how to use this API.
Also note that with this API you basically implement your own spell checker. So the effort may not be worth for fixing this particular case.
Best,
Cristian
Unfortunately we do not have a public sample on how to use this API.
Also note that with this API you basically implement your own spell checker. So the effort may not be worth for fixing this particular case.
Best,
Cristian
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service