Research Article

A Supervised Approach to Predict the Hierarchical Structure of Conversation Threads for Comments

Pseudocode 1

Pseudocode to calculate frequent patterns of authors appearance.
#Step  1.
For to #comments-1
     if Author( ) != Author( )
           Author( ), Author( ) ++;
     End if
End for
#Step  2.
For to #Comments //For each comment which looking for its parent
     For to //For each candidate
           FPScore( , )= Author( ), Author( ) + Author( ), Author( ) ;
     End for
End for