The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.

Sentiment Analysis in German

katyaegodigitalkatyaegodigital Member Posts: 1 Newbie

I am new to RapidMiner, but I would like to use it for sentiment analysis to analyze comments on social networks. 
The question is it possible to do with german language? 

Any help is appreciated.



  • Options
    kaymankayman Member Posts: 662 Unicorn
    Depends a bit...

    The out of the box options (Vader, sentiwordnet etc)  typically use models trained on English content, so you won't get far with German or any other language.

    However, if you would have training data available, or can generate this, there is of course no reason at all why you couldn't use German and just generate your own 'sentiment' set, this is in essence just a classification task.

    If you don't have trained data available nor the time to manually annotate a data set the 'easiest' way to get this is to crawl sites that offer reviews (for instance or Reviews are always rated 1 to 5, so you could consider everything scoring 1 or 2 as negative, and 4 or 5 as positive. Use these to define your labels, pre-process your source content (casing, stopwords, lemmatizing etc) and get the top keywords associated with both (scheisse, schlecht etc, you get the idea)

    You'll need to combine some different skills but this is indeed possible to do with Rapidminer
  • Options
    rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University Professor Posts: 568 Unicorn
    Guten abend, @katyaegodigital,

    To complement the response by my sensei @kayman: It is indeed possible to accomplish a lot with RapidMiner. I used Sentiment Analysis as part of a fraud research I conducted in Switzerland and have just two tips for you:
    1. If your coding skills are good, experiment with this: I was able to parse the XML (using Ruby, sorry) and use it as a WordNet. You may also want to get the GermaNet collection of words.
    2. You may want to play with POS tagging. Use the Python Scripting Extension and the pattern library for that. I don't know if my lack of skills in German played against me on this project (though @mschmitz thinks it's good), but I was able to get much better results with a bit of Python embedded in my processes.
    Don't hesitate to contact me if you need a bit more help. (Though my NLP master is @ghislaine_gueri, I invoke her).

    All the best,

  • Options
    SGolbertSGolbert RapidMiner Certified Analyst, Member Posts: 344 Unicorn

    As @kayman said, you can totally train sentiment analysis models if you have some sort of label. All of the text processing tools support German (RapidMiner originated in Germany after all). With enough data this will actually perform better than out of the box models!

    Without labels you can also use the Dictionary-Based Sentiment operator, but then you need a dictionary with positive and negative words.


  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,525 RM Data Scientist
    Maybe this is the time where i need to add a german dict to Extract Sentiment? @sgenzer :)
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.