Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Calais /
avatar image
Question by Liliya.Woland_deprecated_0 · Jul 10, 2017 at 01:45 PM · calais

SocialTag: constrict analytics of text

Hello, I'm testing text POSTs to https://api.thomsonreuters.com/permid/calais. The text I send contains some html tags and plenty of punctuation marks. I understand I could write some regex to pull out the tags and punctuation before POST, but I was asked to see if there is a way to pass in some switches to disregard html and punctuation in text analytics. If there are other possibilities, I'd love to hear about it. Thank you for your time!

People who like this

0 Show 1
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Liliya.Woland_deprecated_0 · Jul 10, 2017 at 02:12 PM 0
Share

The issue is because of text containing html and punctualion, one of the Social Tags returned is "HTML" with importance 1 and another is "Punctuation" with importance 1. In a best case scenario for what we're thinking of doing, it would be best to constrict text analytics in a way to ignore html and punctuation.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Eran S. · Jul 11, 2017 at 04:13 AM

Hello,

You may try to use the header content-type=text/html and check the results.

Regards.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Liliya.Woland_deprecated_0 · Jul 11, 2017 at 11:28 AM 0
Share

Thank you Eran, that fixed my issue :)

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
5 People are following this question.

Related Questions

Exclude certain html tags from calais processing

Why OpenCalais API break on this message unless substring " Let's hear from in fact." is removed?

Is it possible to train Open Calais for different domains?

Charset encoding problem

How to recover a forgotten Calais API key?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges