Template Extraction from Heterogeneous Web Pages with Cosine Similarity
template detection via data mining and its applications .