External call for parser/extractors

Kyle Nakamoto's Avatar

Kyle Nakamoto

27 Oct, 2009 09:49 PM via web

Is there a rest call or java api call that can be used to apply parsers/extractors a sentence before using it in an query?

  1. Support Staff 2 Posted by Jim Fleming on 27 Oct, 2009 09:49 PM

    Jim Fleming's Avatar

    Kyle, In the next release, you will be able to parse a "memory resource". In other words, you will be able to create a resource object, pass it into the system to be parsed only (not observed). It will return a resourceref that you can call a second time to retrieve. For example:

    POST: /spaces/{space}/resources

    <action>parse</action>
    <type>transient</type>
    <template>template_name</template>
    <dataType>xml</dataType>
    <data><![CDATA[ data.....]]></data>
    

    will return a resourceref that you can call back to retrieve...

    GET: /spaces/{space}/resources/{rref}

    For more doc on these upcomming calls see:
    http://docs.saffronsierra.com/Resources
    http://docs.saffronsierra.com/Resource

    The transient resource will be deleted at some time later (maybe after 24 hours, we still need to implement a purging policy). Let me know if you have any more questions on this. We hope to have a tutorial built on this topic soon.

    Thanks,
    Jim

  2. Support Staff 3 Posted by Jim Fleming on 04 May, 2010 08:34 PM

    Jim Fleming's Avatar

    Issue has been resolved.

  3. Jim Fleming closed this discussion on 04 May, 2010 08:34 PM.

Comments are currently closed for this discussion. You can start a new one.