private Sentence findTokenSentence(Token token) {
        if(beforeSentences !=null) {
        for (Sentence s : beforeSentences) {
            for (Token t : s.getTokens()) {
                if (t.getID().equals(token.getID())) {
                    return s;
                } 
            }
        }
        }

        for (Token t : thisSentence.getTokens()) {
            if (t.getID().equals(token.getID())) {
                return thisSentence;
            }
        }
        if(afterSentence !=null) {
        for (Token t : afterSentence.getTokens()) {
            if (t.getID().equals(token.getID())) {
                return afterSentence;
            }
            
        }
        }
        return null;
    }