Uploaded image for project: 'BrownDog'
  1. BrownDog
  2. BD-634 Add GI use case tools to Tools Catalog
  3. BD-1965

Social Media GI Preferences (text classify) extractor runtime exception.

XMLWordPrintableJSON

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • Brown Dog - Sprint 6

        File "/usr/local/lib/python2.7/dist-packages/pyclowder/extractors.py", line 279, in thread_function

          _processFileFunction(jbody)

        File "/home/clowder/extractor.py", line 37, in process_file

          gi_value = text_classify(inputfile)

        File "/home/clowder/text_classify.py", line 15, in text_classify

          val = model.classify(text)

        File "/usr/local/lib/python2.7/dist-packages/textblob/classifiers.py", line 250, in classify

          text_features = self.extract_features(text)

        File "/usr/local/lib/python2.7/dist-packages/textblob/classifiers.py", line 185, in extract_features

          return self.feature_extractor(text)

      TypeError: basic_extractor() takes exactly 2 arguments (1 given)

              Unassigned Unassigned
              bing Bing Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: