 $ = Annotator.$
 xpathRange = Annotator.Range
 Util = Annotator.Util
-
-RangeAnchor = require('../../../../../../h/h/static/scripts/annotator/anchoring/types').RangeAnchor
-FragmentAnchor = require('../../../../../../h/h/static/scripts/annotator/anchoring/types').FragmentAnchor
-TextPositionAnchor = require('../../../../../../h/h/static/scripts/annotator/anchoring/types').TextPositionAnchor
-TextQuoteAnchor = require('../../../../../../h/h/static/scripts/annotator/anchoring/types').TextQuoteAnchor
-
 
 # This plugin implements the UI code for selecting sentences by clicking
 module.exports = class SentenceSelection extends Annotator.Plugin

    window.getSelection().removeAllRanges()
    window.getSelection().addRange(anchor.toRange())

class Selector_Class
  constructor: (startC, endC, startO, endO) ->
    @startContainer = -> startC
    @endContainer = -> endC
    @startOffset = -> startO
    @endOffset = -> endO


    desiredText = event.target.innerText || event.target.textContent
    desiredText = desiredText.split('.')[0]

    full_xpath = Util.xpathFromNode($(event.target), document)

    data = {
