spark-nlp-display icon indicating copy to clipboard operation
spark-nlp-display copied to clipboard

Bug in RE Vis which causes issues while displaying

Open HashamUlHaq opened this issue 5 years ago • 0 comments

  • sometimes the entire text is missed due to list lengths being incosistent.

/usr/local/lib/python3.7/dist-packages/sparknlp_display/relation_extraction.py:354: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray relation_coordinates = np.array(relation_coordinates)

HashamUlHaq avatar Apr 01 '21 13:04 HashamUlHaq