Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Text Processing: How to fetch documents from database
monami555
Hello again
I have a problem I have been struggling with for a few days with no success. Maybe somebody could help me out:
(I am using the Text Processing extension, and a "Process Documents From Data" component from there)
With the "Read Database" component I read text fields from db ("SELECT article_text FROM articles"). I pass the result to "Process Documents From Data". Inside "Process Documents From Data" I put "Tokenizer" and a "breakpoint before".
The document that gets there has null content ???, and an "article_text" attribute set to the value from db.
And I need the value from db to appear there as the document content instead (as this needed for further processing).
I suppose I am making some very stupid mistake here, I would be grateful for any hints..
Thank you
M.
Find more posts tagged with
AI Studio
Accepted answers
All comments
StaryVena
Hi,
you should maybe add "Nominal to Text" operator between Read Database and Process Documents From Data and convert attribute role (with article text) to "text" role.
Cheers
Vaclav
monami555
THANK YOU it helped
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups