tagger: convenience method to get the labels as a Java List