Change TypedDependency to store an IndexedWord instead of a TreeGraphNode. This will allow you to reconstruct new TypedDependency objects without knowing the original graph they were built from. For example, if a SemanticGraph wants to convert back to a list of TypedDependency
Add a method which returns a copy of the IndexedWord in question. Use this instead of directly copying the IndexedWord in EnglishGrammaticalStructure
No reason for lemmatize to be so convoluted...
Update a comment
This would be a ton cleaner, but is rather expensive
Merge branch 'master' of ssh://origin into typeddependency
Use HasIndex instead of CoreMap to be more compatible with different label types
Merge branch 'master' of /u/nlp/git/javanlp into typeddependency