Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Is there a key word generator?

Is there a way, e.g. an existing custom function, to generate key words (nouns) from a field. I don't know the key words, so this function would identify the key words for me.

 

I could brute force this by parsing each field by word, and counting the instances of each word. But I would get a lot of irrelevant words: a, the, at, is, etc.

 

In the meantime, I have been generating this list of key words manually.

 

Any suggestion is appreciated!

  • Hi Anonymous ,

     

    If you have a Premium Capacity or Premium-per-User licence you can use the in-built AI capabilities in Power Query:

     

     

    There are generic keyword/keyphrase models available, as well as sentiment evaluation etc.

     

    Other than that, you will need to go for the parsing option and use a 'word exclusion' list to avoid the AT's and THE's etc.

     

    You may find Chris Webb's attempt at this type of thing a useful starting point, but make sure to red Frank's comments at the end to get correct counts:

    https://blog.crossjoin.co.uk/2013/03/15/finding-shakespeares-favourite-words-with-data-explorer/ 

     

    Pete

4 Replies

  • Hi Anonymous ,

     

    If you have a Premium Capacity or Premium-per-User licence you can use the in-built AI capabilities in Power Query:

     

     

    There are generic keyword/keyphrase models available, as well as sentiment evaluation etc.

     

    Other than that, you will need to go for the parsing option and use a 'word exclusion' list to avoid the AT's and THE's etc.

     

    You may find Chris Webb's attempt at this type of thing a useful starting point, but make sure to red Frank's comments at the end to get correct counts:

    https://blog.crossjoin.co.uk/2013/03/15/finding-shakespeares-favourite-words-with-data-explorer/ 

     

    Pete

    • Anonymous's avatar
      Anonymous
      Not applicable

      My data source is an Excel export, so I get the error, Cannot convert a value of type Table to type List, when I apply the first step: Lines.ToText(Source, " ")