Skip to content

Commit

Permalink
facade for generated page api in ocrd_page
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Apr 24, 2018
1 parent f744bd1 commit fca0078
Show file tree
Hide file tree
Showing 5 changed files with 7,441 additions and 7,387 deletions.
4 changes: 3 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[MASTER]
extension-pkg-whitelist=lxml
ignored-modules=cv2,tesserocr
ignored-modules=cv2,tesserocr,ocrd.model

[MESSAGES CONTROL]
ignore-patterns='.*generateds.*'
disable =
ungrouped-imports,
missing-docstring,
no-self-use,
too-many-arguments,
Expand Down
9 changes: 7 additions & 2 deletions ocrd/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@

PAGE_XML_EMPTY = '''<?xml version="1.0" encoding="UTF-8"?>
<PcGts xmlns="http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15 http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15/pagecontent.xsd">
<Page>
</Page>
<Metadata>
<Creator>ocrd/core</Creator>
<Created>2018-01-01T00:00:00Z</Created>
<LastChange>2018-01-01T00:00:00Z</LastChange>
</Metadata>
<Page>
</Page>
</PcGts>
'''

Expand Down
Loading

0 comments on commit fca0078

Please sign in to comment.