(01) ;
(02)For
(03) if
(04)   ;
(05) else
(06)   ;
(07) ;
Algorithm 3: Pseudocode for the transformation of transaction based on a topic dictionary.