-
Notifications
You must be signed in to change notification settings - Fork 0
/
iCI-Team.doc
187 lines (143 loc) · 5.17 KB
/
iCI-Team.doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
Agenda
1>Steps that we followed.
1>Store data with business key like Bill, Speed, Network etc which helps to check whether the feedback is neutral.
2>Store data with set of regular expression which will decide that feedback is negative . If a statement is following that trend.
3>If the feedback is non neutral and non negative then default system will consider this as positive feedback.
To accomplish this below are the steps we followed.
1>Read file one line at a time.
a>Parse the line to check whether it is neutral. Logic is check whether line is containing any business related key word.
b> If it contains then check for the negative.
Logic to check for the negative feedback
p>Check whether line contains any line starts with Who, Where,Nothing etc .If it is yes then consider it as negative.
q>Check whether the feedback contains any line with more than three words written in caps. If it is yes then consider it as negative.
r>If comments contains line starts with but. Then concentrate statement after that but. Reason is some users will start with positive and then they will give actual comments after but ,however etc.
s> Check whether line contains digit followed by employees or workers or agents(5 agents or 6 workers). Then consider this as negative.
t>
Logic to check neutral feedback.
2>Once parsing is done and feedback is categorized then write it in output file.
3>Repeat this process till the file ends.
List of patterns which will determine the feedback is negative .These are based on analysis done on real time feedback data got from customers.
// reg ex to add in list
[0-9][0-9]*\\stimes [0-9][0-9]*\\s agents
time out no response
no longer forever
donot don't
don’t do not
did not dint
didn’t doesnot
does not doesn't
does nothing do nothing
unable to slow
error concern
not good not work
not fast slow
problem awful
cancel can't
can not cannot
could not couldn't
unavailable never
empty not proceed
couldn't proceed
pain waste of time
impossible taking over
keep trying keep loading
ridiculous froze
frozen
freeze horrible
List of Business key words
network
internet
service
fios
mobile
product
circuit
money
bill
payment
phone
invoice
price
ordering
order
hd
tv
fios
speed
technician
iCI Team Solution
Design approach and Solution -- Randhir & Dilip
Topics to cover.
1. Design approach
2. Algorithm and solution details
3. List of stored data
Design approach
Read input file one line at a time.
Parse the line to determine whether the feedback is Negative or Neutral.
Agenda
1>Steps that we followed.
1>Store data with business key like Bill, Speed, Network etc which helps to check whether the feedback is neutral.
2>Store data with set of regular expression which will decide that feedback is negative . If a statement is following that trend.
3>If the feedback is non neutral and non negative then default system will consider this as positive feedback.
To accomplish this below are the steps we followed.
1>Read file one line at a time.
a>Parse the line to check whether it is neutral. Logic is check whether line is containing any business related key word.
b> If it contains then check for the negative.
Logic to check for the negative feedback
p>Check whether line contains any line starts with Who, Where,Nothing etc .If it is yes then consider it as negative.
q>Check whether the feedback contains any line with more than three words written in caps. If it is yes then consider it as negative.
r>If comments contains line starts with but. Then concentrate statement after that but. Reason is some users will start with positive and then they will give actual comments after but ,however etc.
s> Check whether line contains digit followed by employees or workers or agents(5 agents or 6 workers). Then consider this as negative.
t>
Logic to check neutral feedback.
2>Once parsing is done and feedback is categorized then write it in output file.
3>Repeat this process till the file ends.
List of patterns which will determine the feedback is negative .These are based on analysis done on real time feedback data got from customers.
// reg ex to add in list
[0-9][0-9]*\\stimes [0-9][0-9]*\\s agents
time out no response
no longer forever
donot don't
don’t do not
did not dint
didn’t doesnot
does not doesn't
does nothing do nothing
unable to slow
error concern
not good not work
not fast slow
problem awful
cancel can't
can not cannot
could not couldn't
unavailable never
empty not proceed
couldn't proceed
pain waste of time
impossible taking over
keep trying keep loading
ridiculous froze
frozen
freeze horrible
List of Business key words
network
internet
service
fios
mobile
product
circuit
money
bill
payment
phone
invoice
price
ordering
order
hd
tv
fios
speed
technician