implemented calculateComponentScore only in LexTree linguist