sentence1: lexical chaining has been investigated in many research tasks such as text segmentation , word sense disambiguation , and text summarisation .
sentence2: lexical cohesion analysis has been used in such nlp applications as determining the structure of text and automatic text summarization .