Menu

[Solved]Giving Text Genres Id 12 Name Adventure Id 16 Name Animation Id 10751 Name Family Id 14 Na Q37151814

Giving this text

genres[{‘id’: 12, ‘name’: ‘Adventure’}, {‘id’: 16, ‘name’: ‘Animation’},{‘id’: 10751, ‘name’: ‘Family’}, {‘id’: 14, ‘name’:’Fantasy’}][{‘id’: 27, ‘name’: ‘Horror’}, {‘id’: 878, ‘name’: ‘ScienceFiction’}][{‘id’: 35, ‘name’: ‘Comedy’}, {‘id’: 10749, ‘name’:’Romance’}][{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10752, ‘name’: ‘War’}, {‘id’:9648, ‘name’: ‘Mystery’}][{‘id’: 36, ‘name’: ‘History’}, {‘id’: 99, ‘name’:’Documentary’}][{‘id’: 35, ‘name’: ‘Comedy’}, {‘id’: 18, ‘name’: ‘Drama’}][{‘id’: 10749, ‘name’: ‘Romance’}, {‘id’: 18, ‘name’: ‘Drama’},{‘id’: 35, ‘name’: ‘Comedy’}][{‘id’: 16, ‘name’: ‘Animation’}, {‘id’: 10751, ‘name’:’Family’}][{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10749, ‘name’:’Romance’}][{‘id’: 16, ‘name’: ‘Animation’}, {‘id’: 35, ‘name’: ‘Comedy’},{‘id’: 10751, ‘name’: ‘Family’}][{‘id’: 53, ‘name’: ‘Thriller’}, {‘id’: 27, ‘name’: ‘Horror’},{‘id’: 35, ‘name’: ‘Comedy’}][{‘id’: 18, ‘name’: ‘Drama’}][{‘id’: 28, ‘name’: ‘Action’}, {‘id’: 35, ‘name’: ‘Comedy’}][{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10749, ‘name’:’Romance’}][{‘id’: 12, ‘name’: ‘Adventure’}, {‘id’: 35, ‘name’: ‘Comedy’},{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10749, ‘name’: ‘Romance’}][{‘id’: 18, ‘name’: ‘Drama’}][{‘id’: 878, ‘name’: ‘Science Fiction’}, {‘id’: 35, ‘name’:’Comedy’}, {‘id’: 12, ‘name’: ‘Adventure’}][{‘id’: 53, ‘name’: ‘Thriller’}, {‘id’: 878, ‘name’: ‘ScienceFiction’}, {‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 9648, ‘name’:’Mystery’}][{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10402, ‘name’: ‘Music’}][{‘id’: 18, ‘name’: ‘Drama’}, {‘id’: 10749, ‘name’: ‘Romance’},{‘id’: 53, ‘name’: ‘Thriller’}]

In Python using “Text Analysis” to find out top 5 type ofgenres

For example : a movie can have one or more than one genres suchas ” Drama”, “Romance”, Thriller….. Count all the type of genresand then find out what is the most 5 type of genres in the text

Expert Answer


Answer to Giving this text genres [{‘id’: 12, ‘name’: ‘Adventure’}, {‘id’: 16, ‘name’: ‘Animation’}, {‘id’: 10751, ‘name’: ‘Family… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *