Spaces:
Runtime error
Runtime error
edit example of positive and negative reviews
Browse files
eda.py
CHANGED
@@ -76,7 +76,13 @@ def run():
|
|
76 |
st.write('-'*100)
|
77 |
for i in range(0,20):
|
78 |
st.write(sample_positive_review.iloc[i,2])
|
79 |
-
st.write('-'*100)
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
elif select_eda == 'Number of Words':
|
82 |
# Count the number of words in each review
|
|
|
76 |
st.write('-'*100)
|
77 |
for i in range(0,20):
|
78 |
st.write(sample_positive_review.iloc[i,2])
|
79 |
+
st.write('-'*100)
|
80 |
+
st.write('Based on the examples of various reviews above, what distinguishes between positive reviews and negative reviews :')
|
81 |
+
st.write('1. **Positive reviews** generally express satisfaction with a product, service, or experience, highlighting the positive aspects and benefits that were experienced. They often use positive language and may include specific examples of what the reviewer liked about the product or service. They may also mention the quality, value for money, or ease of use.')
|
82 |
+
st.write('2. **Negative reviews**, on the other hand, typically express dissatisfaction or disappointment with a product, service, or experience. They often highlight specific problems or issues that the reviewer experienced, such as poor quality, bad customer service, or difficulty using the product. Negative reviews may use negative language and may also include suggestions for how the product or service could be improved.')
|
83 |
+
st.write('Overall, the key difference between positive and negative reviews is the attitude of the reviewer and their overall satisfaction with the product or service. Positive reviews reflect a positive experience, while negative reviews reflect a negative experience.')
|
84 |
+
|
85 |
+
|
86 |
|
87 |
elif select_eda == 'Number of Words':
|
88 |
# Count the number of words in each review
|