using an old version of opencalais

hello, i have and old php script using opencalais api. since the upadate, it's not working any more. is there any solution for using the old version. Updating my script is so hard.

Thank you

Best Answer

  • The migration guide was removed from the site and will be republished shortly. I am available for specific questions.

Answers

  • Sorry, no it is not possible.

    However, please feel free to share the difficulties you experience and we will try to offer suggestions and help.

    Regards,

    Eyal

  • yes please, my old script was returning generic relationships but now, they are not supported i think. Another question please: what are main change in new version? it's not clear at all in documentation. I can not found functions that i have to use. In pdf documentations there is not functions or how to use them!!!! where can i find that?

    Thanks

  • Please review the following document and let us know if you still have questions.

    In this document you can see difference in sample output between legacy and new...

    http://www.opencalais.com/wp-content/uploads/folder/Thomson-Reuters-Open-Calais-Upgrade-Guide.pdf

  • There is nothing in the pdf document.

    The only thing about generic relations is:

    "GenericRelations: This function is no longer supported."

  • @Eyal.Kenigsvain

    Hi Eyal, can you offer any further information regarding the functions in the pdf documents or is this the upgrade guide correction you refer to in the related query?:

    About the “generic relations" in old version of opencalais

    Many Thanks

    AHS

  • Sneak preview :)

    The new Open Calais provides the following metadata enhancements:

    • er/Company – A disambiguation tag that maps the extracted company to the corresponding company in the Thomson Reuters Organization Authority, a universe of over 3 million organizations (mainly the largest international business organizations worldwide). Open Calais Company metadata is substantially enhanced in quality from the previous opencalais.com version. The main enhancements are in the precision of Disambiguation, and Relevance, with more accurate recognition of high relevance mentions. The openpermid attribute value is a direct link to the relevant company page on the Open PermID website (https://permid.org), and gives you direct access to high quality, curated Thomson Reuters company data. Company disambiguation is now available in English, French, and Spanish.
    • em/e/Person: This extracted metadata tag now includes firstname and lastname attributes; provides the additional person types: attorney, judge.
    • er/Person: A disambiguation tag that maps the extracted person to the corresponding person in the Thomson Reuters People Authority, in the Officers and Directors dataset, which is a universe of ~1.6M news worthy people. This capability is now available for English, French, and Spanish.
    • er/Geo: A disambiguation tag that maps an extracted City, Country, or ProvinceOrState to the corresponding geographical entity in the Thomson Reuters Metadata Authority. The geographical entity is identified by name and a Thomson Reuters PermID. This capability is now available for English, French, and Spanish.
    • er/Organization: A disambiguation tag that maps an extracted Organization to the corresponding organization in the Thomson Reuters Metadata Authority. The Organization is identified by name and the Thomson Reuters PermID. This capability is now available in English, French and Spanish.
    • er/Currency: A disambiguation tag that maps an extracted Currency to a currency in the Thomson Reuters Metadata Authority. The Currency is identified by name and the Thomson Reuters PermID. This capability is now available for English, French and Spanish.
    • er/Continent: A disambiguation tag that maps an extracted Continent to a continent in the Thomson Reuters Metadata Authority. The Continent is identified by name and the Thomson Reuters PermID. This capability is now available for English, French and Spanish.
    • er/Region: A disambiguation tag that maps an extracted Region to the corresponding region in the Thomson Reuters Metadata Authority. The Region is identified by name and the Thomson Reuters PermID. This capability is now available for English, French and Spanish.
    • forEndUserDisplay: An attribute available for all the Open Calais metadata tags. This attribute is a recommendation of whether the tag is suitable as a search item for a specific document or whether the metadata is primarily of use for aggregation and analytics on large quantities of documents.
  • For Premium users :)

    The following additional metadata types are available upon subscription to Thomson Reuters Intelligent Tagging (TRIT):

    • TopmostPublicParentCompany (er/TopmostPublicParentCompany): This tag is generated when an extracted entity of the type Company is mapped to a company in the Thomson Reuters dataset that also has a publicly traded parent company. For example, a mention of IBM Japan would also yield an association of the document with IBM Corp. The openpermid attribute value is a direct link to the relevant company page on the Open PermID website (https://permid.org), and gives you direct access to high quality, curated Thomson Reuters company data.
    • PharmaceuticalDrug (em/e/PharmaceuticalDrug): This tag is generated when Open Calais identifies a mention of a pharmaceutical drug.
    • Deal (em/r/Deal, er/Deal): These tags are generated when a deal is identified by Open Calais and mapped to a deal in the Thomson Reuters Deal Authority. The Thomson Reuters Deal Authority is a repository of hundreds of thousands of corporate Mergers and Acquisitions.
    • Industry Tags: Industry tags identify the industries related to the companies mentioned in the text. The industry is identified by name, the Thomson Reuters classification ID (RCS Code), the Thomson Reuters business classification ID (TRBC Code), and the Thomson Reuters PermID.
    • Category Tags (DocCat): Calais identifies the topic or topics that are being discussed in the document. The list of possible topics is defined by the International Press Telecommunications council (IPTC) news taxonomy and is also defined by the Thomson Reuters Coding Schema (TRCS) for subscribers to Thomson Reuters Intelligent Tagging. TRCS is an extensive Thomson Reuters News Taxonomy, covering more than 1000 different News Topics . The Category is identified by name, Thomson Reuters classification ID (RCS Code), and the Thomson Reuters PermID.
    • er/Geo: A disambiguation tag that maps an extracted City, Country, or ProvinceOrState to the corresponding geographical entity in the Thomson Reuters Metadata Authority. The geographical entity is identified by name, the Thomson Reuters classification ID (RCS Code), and a Thomson Reuters PermID. This capability is now available for English, French, and Spanish.
    • er/Organization: A disambiguation tag that maps an extracted Organization to the corresponding organization in the Thomson Reuters Metadata Authority. The Organization is identified by name, the Thomson Reuters classification ID (RCS Code), and the Thomson Reuters PermID. This capability is now available in English, French and Spanish.
    • er/Currency: A disambiguation tag that maps an extracted Currency to a currency in the Thomson Reuters Metadata Authority. The Currency is identified by name, the Thomson Reuters classification ID (RCS Code), and the Thomson Reuters PermID. This capability is now available for English, French and Spanish.
    • er/Continent: A disambiguation tag that maps an extracted Continent to a continent in the Thomson Reuters Metadata Authority. The Continent is identified by name, the Thomson Reuters classification ID (RCS Code), and the Thomson Reuters PermID. This capability is now available for English, French and Spanish.
    • er/Region: A disambiguation tag that maps an extracted Region to the corresponding region in the Thomson Reuters Metadata Authority. The Region is identified by name, the Thomson Reuters classification ID (RCS Code), and the Thomson Reuters PermID. This capability is now available for English, French and Spanish. Thomson
  • Functionality that is no longer available in the new OpenCalais:

    • GenericRelations: This function is no longer supported.
    • Simple Output Format: The simple output format cannot fully support the full richness of Open Calais metadata, therefore we have deprecated this format.
    • SOAP interface is no longer supported. Please use our REST API.
    • er/Product: Extracted Product entities are no longer mapped to CNET URL.
    • Calais LinkedData Repository: This function was deprecated to make room for a new and enhanced form of Linked Data, exposing Thomson Reuters entity masters via https://permid.org. Calais now links to entities available at https://permid.org.
    • The links to company data that appeared in the legacy Open Calais output are no longer supported. For the convenience of legacy Open Calais users, a new attribute, legacyid, has been temporarily added to the er/company and er/TopmostPublicParentCompany disambiguation tags. The purpose of this attribute is to enable you to map the old company links, which are no longer supported, to the corresponding new links. Please see the section Company Links for further details.
    • The RelevanceInfo tag generated for all extracted entities now provides discrete scores instead of continuous scores, (except for the RelevanceInfo tag generated for company entities, which includes both the relevance and relevancecont attributes).
  • The old links to company data that were included in the legacy Open Calais output are no longer supported.
    For the convenience of legacy Open Calais users, a new attribute, legacyid, has been temporarily added to the er/company and er/TopmostPublicParentCompany disambiguation tags.
    The purpose of the legacyid attribute is to enable you to map the old links, which are no longer supported, to the corresponding new links.
    The attribute value is the link to the company as it would have been displayed in the legacy Open Calais output.
    An example of an old company link in the legacy Open Calais er/company tag (RDF output):


    <rdf:Description rdf:about="http://d.opencalais.com/er/company/ralg-tr1r/39d9a86f-6241-3688-b05b-4595eeaba2d1">

    The company link and the legacyid attribute as they appear in the new Open Calais er/company tag (RDF output):

    <rdf:Description rdf:about="http://d.opencalais.com/er/company/ralg-oa/5000608903">
    <rdf:type rdf:resource="http://s.opencalais.com/1/type/er/Company"/>
    <c:docId rdf:resource="http://d.opencalais.com/dochash-1/7586b818-40af-3d55-ac16-bf3520cddfa6"/>
    <c:permid>4295905573</c:permid>
    <c:score>0.9928677</c:score>
    <c:legacyid rdf:resource="http://d.opencalais.com/er/company/ralg-tr1r/39d9a86f-6241-3688-b05b-4595eeaba2d1"/>
    <!--Apple-->
    <c:subject rdf:resource="http://d.opencalais.com/comphash-1/705cd5cf-93e1-323c-8d4e-1ea3200d37e4"/>
    <c:name>Apple Inc</c:name>
    <c:commonname>Apple</c:commonname>
    <c:ticker>AAPL</c:ticker>
    <c:primaryric>AAPL.OQ</c:primaryric>
    <c:openpermid rdf:resource="https://permid.org/1-4295905573"/>
    </rdf:Description>

    The company link and the legacyid attribute as they appear in the new Open Calais er/company tag (N3 output):

    <http://d.opencalais.com/er/company/ralg-oa/5000608903&gt; 
    a <http://s.opencalais.com/1/type/er/Company&gt; ;
    c:commonname "Apple" ;
    c:docId <http://d.opencalais.com/dochash-1/268b4e49-098d-389d-9d76-816cb722a630&gt; ;
    c:legacyid < http://d.opencalais.com/er/company/ralg-tr1r/39d9a86f-6241-3688-b05b-4595eeaba2d1&gt; ;
    c:name "Apple Inc" ;
    c:openpermid <https://permid.org/1-4295905573&gt; ;
    c:permid "4295905573" ;
    c:primaryric "AAPL.OQ" ;
    c:score "0.9928677" ;
    c:subject <http://d.opencalais.com/comphash-1/705cd5cf-93e1-323c-8d4e-1ea3200d37e4&gt; ;
    c:ticker "AAPL"

    Note that this attribute is not relevant to the JSON output format.
    Thomson