SIGN IN SIGN UP
stanfordnlp / CoreNLP UNCLAIMED

CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.

0 0 248 Java

Remove recursion - really weird graphs can cause a stack overflow. Instead, just loop until the vertexIterator is used up. Observed in https://github.com/stanfordnlp/CoreNLP/issues/1461

J
John Bauer committed
05804a35dfe8a0d013754ba19a8830b5232aa496
Parent: 154fd14