I extracted just the join function from all the previous work, then left all the rest to external definitions. Join only works with a cursor structure, and the loop is 30 line of code.
Then I extracted a particular attachment, broke that out. This attachment stores data in plain text json formata. I executed the step,fetch,append functions with string operations on the plain text. Very little code, but it handles the DOT,, COMMA, PARENTH grammar, along with ASTERISK for wildcard selects.
This thing does simple search operations:
JSON out equals JSON search graph join JSON text. It can extract a sub graph from any other valid JSON plain text. This is something bots want to do, and it is a simple search tool they can program themselves.
The JSON search graph will work with a variety of unformatted text analyzers. The text analyzers simple present arbitrary groups of comma and dot separated words.
No comments:
Post a Comment