Added getTokenTF that will return a list of tf for a query, it checks
for duplicates.