Hi Oleksandr,
sorry, but this module is indeed currently not supported from SWP. It
follows a different design pattern than most other modules, by having
its SELECT query as an spl:Attribute (not spl:Argument).
How much processing happens before you want to call this module? If
there is just a couple of steps, you could turn your whole service into
a SPARQLMotion script and call it using the sparqlmotion servlet.
Alternatively, you may have the SWP script call an SM script on its own
server using sml:PostRequest.
Anyway, in case you wonder, here is an example of the SPARQL query
syntax that is expected by this module, taking a string ?text that has
one word per row as input:
SELECT ?action ?word
WHERE {
?row spif:split ( ?text "\n" ) .
BIND (spif:trim(?row) AS ?word) .
BIND (<http://topbraid.org/spellcheckresults#addWord> AS ?action) .
}
In case you can wait for 5.3, I have just added two new modules
sml:AddUserDictionaryWord and sml:RemoveUserDictionaryWord for the next
release, because I think the old sml:UpdateUserWordDictionary module is
too complex to use, and - as you have found out - doesn't work well from
SWP.
HTH
Holger
On 21/12/2016 0:26, Oleksandr Mandryk wrote:
Hi all,
I'm working on SWP service for adding list of words to the spell check
dictionary (by uploading text file with new words),
but I've noticed the note in the sml:UpdateUserWordDictionary module -
"Not supported as SWP module. SWP does not support TBE sessions or
dictionaries.".
Does it men that there is no way to run this module from SWP service?
Thanks.
BR,
Oleksandr
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include the TopBraid
Suite family of products and its base technologies such as
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.