Use an own dictionary for Slang synonyms

na020na020 MemberPosts:1Contributor I
edited April 2020 inHelp

Hey guys,

i'm currently trying to create my own dictionnary for some slangwords. The whole task is about implementing an automatic Music LyricsAnalyzer. The MLA uses text analytics methods basedon an established platform to analyze the vocabulary used in song lyrics of different interpreters / genres and.build clusters of songs based on their lyrics. In some genres like reggae, there are many slangwords which I try to replace by normal englisch (create my own dictionary). Which operators and which file-type should I choose for the task?

Thanks

Answers

  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,635Unicorn

    Based on what you described, "replace tokens" is probably your best choice. That will allow you to map all synonyms into a single consistent token for your subsequent analysis. You can also filter out some custom words entirely with a text filter, either by using "filter tokens" or by "filter stopwords - dictionary", both of which allow you to supply user input to tell RapidMiner which tokens to omit.

    Brian T.
    Lindon Ventures
    Data Science Consulting from Certified RapidMiner Experts
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,438RM Data Scientist

    Hi,

    another option would be to use Replace (Dictionary) from RM core. That would need some regexes.

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign InorRegisterto comment.