A Detection Algorithm for Text Similarity using Component Relation Map