Recognizing language patterns in a list of sentences on Google Sheets

拟墨画扇 提交于 2020-06-29 04:47:04

问题


I am trying to analyze a series of sentences by identifying the most common adverb-adjective-noun strings. I have managed to get answers for how to do so with random words but I think this is a standalone question, and it might better to be dealt with separately.

In this case, I would like to omit common word types like personal pronouns, articles, prepositions and even verbs. Ideally, the results should produce:

  • Most common nouns
  • Most common adjectives
  • Most common adverbs
  • Most common adjective+noun strings
  • Most common adverb+noun strings

I understand there is a way to do this by using an online dictionary but I have been unable to integrate that in my code to get the results I want. Is there any way of automating this without listing all the words that you want omitted? How could it be done?

Here's a link to the spreadsheet I'm using (for this particular query, see page 2) and a screenshot of the types of text I would like to analyze with a manual color-coded visualization of what I want to achieve:

来源:https://stackoverflow.com/questions/61075050/recognizing-language-patterns-in-a-list-of-sentences-on-google-sheets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!