Research Article

Big Data Management and Analytics in Scientific Programming: A Deep Learning-Based Method for Aspect Category Classification of Question-Answering-Style Reviews

Algorithm 1

Sentence segmentation algorithm.
Input: Question or Answer text ;
   : the minimum number of words in a sentence;
   : the maximum number of sentences in the answer text
Output: All sentences (Stored in C = {}) mined from S that satisfy and
(1)
(2) // the candidate sentence
(3)Segment S into n sentences with Stanford CoreNLP toolkit;
(4)fordo
(5)ifthen
(6)  break;
(7)end
(8)ifthen
(9)  ;
(10)  ;
(11)else
(12)  ;
(13)whiledo
(14)  ;
(15)   ifthen
(16)    ;
(17)   else
(18)    j += l;
(19)   end
(20)  end
(21)  ;
(22)end
(23)End