FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Passing document text to document service 'crea (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Passing document text to document service 'crea
#187
barrywalker (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Passing document text to document service 'create' 8 Months, 1 Week ago Karma: 0  
Is there currently a way to pass in a document's text using the document web service? Since you guys don't support an OCR extractor yet, I want to do the OCR client side and pass the extracted text along with the rest of the document when I add it to the repository. However, when I look at the create method, the closest thing I see is the 'keywords' property on the Document object, but that's not really what I want.

Thanks,
Barry
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#188
pavila (Admin)
Admin
Posts: 304
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Passing document text to document service 'crea 8 Months, 1 Week ago Karma: 7  
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/03/13 17:22 By pavila.
 
Be open, my friend!
  The administrator has disabled public write access.
#189
barrywalker (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Passing document text to document service 'crea 8 Months, 1 Week ago Karma: 0  
I did - and the Document object only has a contents property, which is the actual document. I need to send the document (a TIFF image as byte[]) and the text contents of t did - and the Document object only has a contents property, which is the actual document. I need to send the document (a TIFF image as byte[]) and the text contents of that document (string).

I also need to have the text contents indexed for searching.

Is this possible using the current implementation?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#199
pavila (Admin)
Admin
Posts: 304
graph
User Offline Click here to see the profile of this user
Gender: Male OpenKM
Re:Passing document text to document service 'crea 8 Months, 1 Week ago Karma: 7  
Document.create have only 3 parameters because OpenKM extract the text from the specified document content (MS Office, OpenOffice, HTML, RTF, etc.) So, if you want to extract text from the TIFF image, the OCR should be integrated at server level.

The other option is send document content as a parameter as you say, but need some API modifications. Perhaps can be included in a future release.

Also you can Contact us for Professional Support.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/03/19 12:28 By pavila.
 
Be open, my friend!
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop