Joseph Hendrix

Results 4 issues of Joseph Hendrix

Updated ParsedDictionaryDefinitionDataset approx_pos method in dataset.py. Something must've changed in how a `stanza.models.common.doc.Word` is structured, causing the method `def approx_pos(cls, nlp, sentence, lookup_idx, lookup_len):` to fail. The Word object now...

* Original JIRA ticket (not by me): https://issues.apache.org/jira/projects/LANG/issues/LANG-1689 * Method `isEmpty` in `ObjectUtils` was modified to return the negation of `Optional.isPresent` (i.e. `!optional.isPresent()`) when the passed in object is an...

Note: This PR is related to #933. Each is a different approach to adding an Optional to ObjectUtils.isEmpty. At most one should me merged. This approach "unwraps" the optional so...

For issue #652: This PR detects cycles through collections. It also adds a unit test to verify that this cycle is detected. The PR also adds three additional unit tests...