Thread safety note: nothing special is done to ensure the thread
safety of the GrammaticalStructureFactory. However, both the
EnglishGrammaticalStructureFactory and the
ChineseGrammaticalStructureFactory are thread safe.
public static void setMissingTags(CoreMap sentence,
Set the tags of the original tokens and the leaves if they
aren't already set