Boolean Algebra

Zaramot
New Altair Community Member
Hello All. Im new to Rapidminer and using it for Textmining. I want to know if its possible to do boolean Algebra with it. Like i want to set 2 or more values. Something like "Customer" and "friendly". If these values appear in 1 sentence, than the textmining should show me the sentence and give it out. Is it possible to do something like that? I hope you can understand my english. It is not the greatest 

thank you all in advance
Tagged:
0
Answers
-
Hi @Zaralot,what you can do is split into sentences and then 'missuse' the Dictionary Based Sentiment operator to create a 'flag'. Not sure if this is the most elegant version of it.And don't worry about your English. Its good. we can switch to German if needed though.Best,Martin0
-
Can you explain that in german to me pls?
0 -
Hi @Zaramot,ja klar. Was du machen kannst ist dein Dokument erst in Sätze aufteilen (Ich denke mit Cut Document?). Danach kannst du 'Dictionary Based Sentiment' "kreativ" einsetzen.Dictionary Based Sentiment geht einfach nur einmal über das Dokument und schaut ob bestimmte Wörter aus einem Wörterbuch vorhanden sind. Wenn ja dann summiert es die entsprechenden Gewichte auf. Der Gedanke hier ist, dass man positive Wörter zählt und dann weiss wie positiv der text ist.Du kannst halt einfach ein Wörterbuch der FormWord WeightCustomer 1friendly 1nutzen. Problematisch wirds erst wenn Wörter doppelt vorkommen etc. Da muss man dann direkt schauen.Alternativ kann man denke ich auch Generate Attrributes nutzen mit
matches(Text,.*Customer.*)
Ist halt die Frage was genau so vorkommen kann.LG,
Martin0