added word/sentence/paragraph functions