You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docstring for educe.corpus.Reader.slurp() states it returns a dictionary from FileId to educe.annotation.Document.
However educe.rst_dt.corpus.Reader.slurp() returns a dictionary from FileId to educe.annotation.RSTTree (as correctly described by its own docstring), which is a direct subclass of educe.annotation.Standoff.
This breaks assumptions regarding the set of methods and attributes that can be called on the returned objects.
The text was updated successfully, but these errors were encountered:
The docstring for
educe.corpus.Reader.slurp()
states it returns a dictionary from FileId toeduce.annotation.Document
.However
educe.rst_dt.corpus.Reader.slurp()
returns a dictionary from FileId toeduce.annotation.RSTTree
(as correctly described by its own docstring), which is a direct subclass ofeduce.annotation.Standoff
.This breaks assumptions regarding the set of methods and attributes that can be called on the returned objects.
The text was updated successfully, but these errors were encountered: