text: public float getTokenScore() {String termText = termAtt.toString();WeightedTerm queryTerm = termsToFind.get(termText);if (queryTerm == null) {return 0;}if (!uniqueTermsInFragment.contains(termText)) {totalScore += queryTerm.getWeight();uniqueTermsInFragment.add(termText);}return queryTerm.getWeight();}