creating a connection

wclasterwclaster Member, University ProfessorPosts:43University Professor
你好。我使用提取情绪操作符。I input some Tweets and it worked fine when I used vader or sentiwordnet. I am trying to get Aylien to work. I choose from the menu options, Connections>>Create Connections. For connection type I selected Aylien and Local Repositor and created it. I registered at Aylien and got an app_key and app_id. But when I try Test connection it says: No test performed. Then when I set the parameters on the Extract Sentiment operator, I need to enter a value for aylien connection but in the drop down box there are "no suggestions found". Does anyone know how I can fix this? Thank you.
Tagged:

Best Answers

  • kaymankayman MemberPosts:662Unicorn
    Solution Accepted
    The column you want to analyze is called 'text' in your excel?
    If not the operator will indeed not provide anything, as this is the attribute it needs.

    Also, not sure if the aylien operator expects the attribute to be in text format (so not nominal), so better check that also.
  • wclasterwclaster Member, University ProfessorPosts:43University Professor
    Solution Accepted
    I had the text field filled in. I received this email from the company
    "I'm afraid that we have deprecated the Text API product and stopped taking on new users over 12 months ago. So unfortunately we can't help unless you are looking to use or subscribe to the News API, our core product.
    You can sign up for 14 day free trial access here:https://newsapi.aylien.com/signup"

Answers

  • wclasterwclaster Member, University ProfessorPosts:43University Professor
    Note, I manually typed in the name of the connection in the aylien connection field. Here is the log info:
    Feb 26, 2021 1:50:42 PM SEVERE: Process failed: operator cannot be executed. Check the log messages...

    Feb 26, 2021 1:50:42 PM SEVERE: Here:

    Feb 26, 2021 1:50:42 PM SEVERE: Process[1] (Process)

    Feb 26, 2021 1:50:42 PM SEVERE: subprocess 'Main Process'

    Feb 26, 2021 1:50:42 PM SEVERE: +- Read Excel[1] (Read Excel)

    Feb 26, 2021 1:50:42 PM SEVERE: ==> +- Extract Sentiment[1] (Extract Sentiment)

    Feb 26, 2021 1:50:42 PM SEVERE: java.lang.NullPointerException

  • wclasterwclaster Member, University ProfessorPosts:43University Professor

    This is the process
  • wclasterwclaster Member, University ProfessorPosts:43University Professor
    And here is the process
    <宏/ >
    <参数键= "哒te_format" value=""/>
    <参数键= "哒tamanagement" value="double_array"/>
    <参数键= "哒ta_management" value="auto"/>

Sign InorRegisterto comment.