issues
search
allenai
/
papermage
library supporting NLP and CV research on scientific papers
https://papermage.org
Apache License 2.0
665
stars
52
forks
source link
API fix - Empty layers
#54
Open
kyleclo
opened
10 months ago
kyleclo
commented
10 months ago
To avoid @soldni type checking horrors, let's add something akin to
.get()
We may still want to represent fields as
None
to separate them from
[]
or
Layer(entities=[])
.get()
None
to separate them from[]
orLayer(entities=[])