<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Sentiment Analysis in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-Sentiment-Analysis/m-p/1683217#M7556</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This page may help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It describes an advanced topic where instead of making multiple requests to a table inside a for/next loop, you can first store all the iterations of the parameters into a csv file and then point the connector to this to process in a more efficient way.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 11:05:33 GMT</pubDate>
    <dc:creator>chrisbrain</dc:creator>
    <dc:date>2020-03-10T11:05:33Z</dc:date>
    <item>
      <title>Using Sentiment Analysis</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-Sentiment-Analysis/m-p/1561028#M7555</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm new in sentiment140 web connector in Qlik Sense. I found some documents about Sentiment 140 Qlik web connector, but it works very slow. Is there any way to optimize it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let vQwcConnectionName = 'lib://----------------';&lt;/P&gt;&lt;P&gt;Sub urlEncode(str)&lt;BR /&gt;&lt;BR /&gt;let str=replace(str, '%', '%25'); // should be first&lt;BR /&gt;let str=replace(str, '#', '%23');&lt;BR /&gt;let str=replace(str, ' ', '%20');&lt;BR /&gt;let str=replace(str, '$', '%24');&lt;BR /&gt;let str=replace(str, '&amp;amp;amp;', '%26');&lt;BR /&gt;let str=replace(str, '+', '%2B');&lt;BR /&gt;let str=replace(str, ',', '%2C');&lt;BR /&gt;let str=replace(str, '/', '%2F');&lt;BR /&gt;let str=replace(str, '\', '%5C');&lt;BR /&gt;let str=replace(str, ':', '%3A');&lt;BR /&gt;let str=replace(str, ';', '%3B');&lt;BR /&gt;let str=replace(str, '=', '%3D');&lt;BR /&gt;let str=replace(str, '?', '%3F');&lt;BR /&gt;let str=replace(str, '@', '%40');&lt;BR /&gt;let str=replace(str, '[', '%5B');&lt;BR /&gt;let str=replace(str, ']', '%5D');&lt;BR /&gt;let str=replace(str, '&amp;amp;gt;', '%3E');&lt;BR /&gt;let str=replace(str, '&amp;amp;lt;', '%3C');&lt;BR /&gt;let str=replace(str, chr(10), '%0A'); // Line feed.&lt;BR /&gt;let str=replace(str, chr(39), '%27'); // 39 Apostrophe&lt;BR /&gt;&lt;BR /&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET noRows = NoOfRows('TwitterConnector_Search');&lt;BR /&gt;&lt;BR /&gt;for i=0 to $(noRows)-1&lt;BR /&gt;&lt;BR /&gt;let text = peek('Search_text', $(i), 'TwitterConnector_Search');&lt;BR /&gt;let textEncoded = text;&lt;BR /&gt;call urlEncode(textEncoded);&lt;/P&gt;&lt;P&gt;Sentiment:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(text)' as text,&lt;BR /&gt;status as Sentiment_status,&lt;BR /&gt;text as Sentiment_text,&lt;BR /&gt;score as Sentiment_score&lt;BR /&gt;FROM [$(vQwcConnectionName)]&lt;BR /&gt;(URL IS [&lt;A href="http://localhost:5555/data?connectorID=TextAnalyser_Sentiment140Connector&amp;amp;table=Sentiment&amp;amp;text=$(textEncoded)&amp;amp;Language=en&amp;amp;appID=],qvx" target="_blank"&gt;http://localhost:5555/data?connectorID=TextAnalyser_Sentiment140Connector&amp;amp;table=Sentiment&amp;amp;text=$(textEncoded)&amp;amp;Language=en&amp;amp;appID=],qvx&lt;/A&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 19:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-Sentiment-Analysis/m-p/1561028#M7555</guid>
      <dc:creator>Somy</dc:creator>
      <dc:date>2021-12-28T19:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sentiment Analysis</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-Sentiment-Analysis/m-p/1683217#M7556</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This page may help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Fetching_data/synchronous-requests.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It describes an advanced topic where instead of making multiple requests to a table inside a for/next loop, you can first store all the iterations of the parameters into a csv file and then point the connector to this to process in a more efficient way.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 11:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-Sentiment-Analysis/m-p/1683217#M7556</guid>
      <dc:creator>chrisbrain</dc:creator>
      <dc:date>2020-03-10T11:05:33Z</dc:date>
    </item>
  </channel>
</rss>

