Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

[Projeto] Desafio: analisando sentimentos em várias resenhas

Objetivo: Analisar as seguintes resenhas de pessoas que compraram o produto em uma loja online americana.

Contexto: Uma empresa que fabrica air-fryers está interessada em entender as opiniões das pessoas consumidoras sobre o desempenho do produto e as suas funcionalidades.

Escopo 1:

  1. Um resumo em português com no máximo 30 palavras;
  2. Uma lista com os pontos fortes do aparelho;
  3. Uma lista com os pontos fracos do aparelho;
  4. O sentimento final da pessoa em relação ao produto, ou seja, se o sentimento é positivo, neutro ou negativo.

Escopo 2:

  1. Gerar arquivo JSON

A saída JSON deve possuir 5 chaves:

  • ID da resenha
  • Resumo
  • Lista de pontos fortes
  • Lista de pontos fracos
  • Sentimento

Regras:

  • O Resultado final deve possuir as etapas 1 a 5 do Escopo.
  • O Resultado final deve ser em português.

Opiniões das Pessoas:

  • Resenha 1: ''' I use the air fryer a lot. It works very well. I made hamburgers in it last night, the were wonderful! The rack you put the food on is a little hard to clean. It has lots of crevices that food gets in. The basket itself is very easy to clean. I also do not trust the rack not to fall out when dumping out food, like French fries. '''

  • Resenha 2: ''' Air fryer works fine until the handle breaks off. There's only 3 screws that attach the handle to a plastic piece on the basket. The plastic piece breaks and the screws fall out so there's no way to attach the handle to the basket rendering the air fryer useless. If there were 4 screws or if the screws attached to metal the handle attachment would have been much more secure and less prone to breaking. '''

  • Resenha 3: ''' Even though I returned it for the bigger one of the same company I liked the fryer. Ferry ez to use But hard to judge. Seafood button isn't fish and it was a guessing game how to cook the product. I way over cooked it and the chicken legs came out crispy, but the other side was raw. But, this is my first time using an air fryer so maybe it's me. Very sleek on the counter buttons light up real nice. I made tater tots and let me tell you they came out perfect and stayed hot. I like it so much that I returned this one and got the same company Bigger one. But I had to buy it from the place itself not from Amazon and I don't lie that at all. Hope this review helps. '''

1 resposta
solução!

Olá, João!

Para ajudar no seu projeto de análise de sentimentos das resenhas, vou te dar um exemplo de como você poderia estruturar a análise de cada resenha e gerar o arquivo JSON. Vou fazer isso para uma das resenhas como exemplo:

Resenha 1:

Resumo: Uso frequente, funciona bem, mas a grelha é difícil de limpar e pode cair ao despejar alimentos.

Pontos fortes:

  • Funciona bem
  • Fácil de limpar (cesto)

Pontos fracos:

  • Grelha difícil de limpar
  • Possível queda da grelha ao despejar alimentos

Sentimento: Positivo

JSON:

{
  "ID da resenha": 1,
  "Resumo": "Uso frequente, funciona bem, mas a grelha é difícil de limpar e pode cair ao despejar alimentos.",
  "Lista de pontos fortes": ["Funciona bem", "Fácil de limpar (cesto)"],
  "Lista de pontos fracos": ["Grelha difícil de limpar", "Possível queda da grelha ao despejar alimentos"],
  "Sentimento": "Positivo"
}

Você pode seguir esse mesmo formato para as outras resenhas, identificando os pontos fortes e fracos e determinando o sentimento geral. Lembre-se de adaptar o resumo para que não ultrapasse 30 palavras.

Bons estudos!