Research Article

TSHD: Topic Segmentation Based on Headings Detection (Case Study: Resumes)

Algorithm 1

Cue phrases scan.
(1)Data
(2)  D: Headings Dictionary
(3)Input
(4)  RE: Refined Enumerate
(5)Output
(6)  D is passed to Algorithm 2
(7)for all (lineIndex, line) RE do
(8)  words tokenization of line
(9)  create bigrams_list of words
(10)  for all (wordi, wordi+1) bigrams_list do
(11)     stemming of (wordi, wordi+1)
(12)     match them to CuePhrases_table
(13)     if matches then
(14)        get unifiedHeading
(15)        record lineIndex
(16)        if unifiedHeading D then
(17)           add {unifiedHeading:lineIndex} to D
(18)        end if
(19)     else
(20)        continue
(21)     end if
(22)  end for
(23)end for