Research Article

A BTM-Based Adaptive Objectionable Short Text Filtering Framework

Algorithm 1

Feature word calculation algorithm.
Input: , .
Output:
1: init matrix
2: for in do
3:   for in do
4:     for in do
5:      ifthen
6:          ++;
7:      end if
8:     end for
9:   end for
10: end for
11: Calculated with the following formula:
                  
12: whiledo
13:
                
14: end while
15: return