Research Article

Online Knowledge-Based Model for Big Data Topic Extraction

Algorithm 2

Mine rules.
MineRules ( , , topics)
() procedure MineRules (, , topics)
()  for ( : all topics) do
()     for ( , : all word pairs in a topic) do
()      if (nPMI( , ) < μ1) then
()   Rules (, , nPMI(, ), topic) // learn as negative rule
()      end if
()      if (nPMI( , ) > μ2) then
()   Rule (, , nPMI(, ), topic) // learn as positive rule
()      end if
()  end for
()end for
() end procedure