-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bugfix! figures were not plottin properly because of weird interactino between getattr() and spans * revert a fix so dont break apis; add deprecation warnings * fix vila predictor to not rely on deprecated methods; fix core recipe to drop word predictor which is bugging out * move names into separate file * make default text operation smoother
- Loading branch information
Showing
8 changed files
with
138 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
""" | ||
@kylel | ||
""" | ||
|
||
# document field names | ||
SymbolsFieldName = "symbols" | ||
ImagesFieldName = "images" | ||
MetadataFieldName = "metadata" | ||
EntitiesFieldName = "entities" | ||
RelationsFieldName = "relations" | ||
|
||
PagesFieldName = "pages" | ||
TokensFieldName = "tokens" | ||
RowsFieldName = "rows" | ||
BlocksFieldName = "blocks" | ||
WordsFieldName = "words" | ||
SentencesFieldName = "sentences" | ||
ParagraphsFieldName = "paragraphs" | ||
|
||
# these come from vila | ||
TitlesFieldName = "titles" | ||
AuthorsFieldName = "authors" | ||
AbstractsFieldName = "abstracts" | ||
KeywordsFieldName = "keywords" | ||
SectionsFieldName = "sections" | ||
ListsFieldName = "lists" | ||
BibliographiesFieldName = "bibliographies" | ||
EquationsFieldName = "equations" | ||
AlgorithmsFieldName = "algorithms" | ||
FiguresFieldName = "figures" | ||
TablesFieldName = "tables" | ||
CaptionsFieldName = "captions" | ||
HeadersFieldName = "headers" | ||
FootersFieldName = "footers" | ||
FootnotesFieldName = "footnotes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.