sentences = ['This is sentence 1 as an example',
    'This is sentence 1 as another example', 'This is sentence 2',
    'This is sentence 3 as another example ', 'This is sentence 4']
Most efficient way to index words in a document?