added code and tests so sentences have a begin span relative to the whole document, in progress