linqs / psl

The PSL software from the University of Maryland and the University of California Santa Cruz
http://psl.linqs.org
Apache License 2.0
296 stars 100 forks source link

Add join method for iterators in IteratorUtils. #307

Closed dickensc closed 3 years ago

dickensc commented 3 years ago

This is a part of the changes made in the larger onlinePSL project.

Add join method for iterators in IteratorUtils. Then, to ensure a cleared term cache when streaming iterators are joined since they may reference the same dataStructure, clear the termCache on close for streamingIterators (this was already done for streamingGroundingIterators).

eriq-augustine commented 3 years ago

lgtm