├── .gitignore ├── LICENSE ├── README.md ├── docs ├── images │ └── annotations.JPG └── styles.css ├── makefile ├── pylintrc ├── requirements.txt ├── setup.py ├── src └── extr │ ├── __init__.py │ ├── entities │ ├── __init__.py │ ├── annotator.py │ ├── context.py │ ├── extractor.py │ ├── factories.py │ ├── linkers.py │ └── viewers │ │ ├── __init__.py │ │ └── html.py │ ├── models.py │ ├── pipelines │ ├── __init__.py │ └── pipes.py │ ├── regexes │ ├── __init__.py │ └── regex.py │ ├── relations │ ├── __init__.py │ ├── annotator.py │ ├── extractor.py │ ├── label_builder.py │ └── viewers │ │ ├── __init__.py │ │ └── html.py │ ├── tokenizers │ ├── __init__.py │ └── tokenizer.py │ └── utils │ ├── __init__.py │ ├── iterutils.py │ └── query.py └── tests ├── test_context.py ├── test_end_to_end.py ├── test_entities.py ├── test_entities_viewers.py ├── test_models.py ├── test_regex.py ├── test_relations.py ├── test_relations_viewers.py └── test_tokenizer.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/README.md -------------------------------------------------------------------------------- /docs/images/annotations.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/docs/images/annotations.JPG -------------------------------------------------------------------------------- /docs/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/docs/styles.css -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/makefile -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/pylintrc -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/setup.py -------------------------------------------------------------------------------- /src/extr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/__init__.py -------------------------------------------------------------------------------- /src/extr/entities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/__init__.py -------------------------------------------------------------------------------- /src/extr/entities/annotator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/annotator.py -------------------------------------------------------------------------------- /src/extr/entities/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/context.py -------------------------------------------------------------------------------- /src/extr/entities/extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/extractor.py -------------------------------------------------------------------------------- /src/extr/entities/factories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/factories.py -------------------------------------------------------------------------------- /src/extr/entities/linkers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/linkers.py -------------------------------------------------------------------------------- /src/extr/entities/viewers/__init__.py: -------------------------------------------------------------------------------- 1 | from .html import HtmlViewer 2 | -------------------------------------------------------------------------------- /src/extr/entities/viewers/html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/entities/viewers/html.py -------------------------------------------------------------------------------- /src/extr/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/models.py -------------------------------------------------------------------------------- /src/extr/pipelines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/pipelines/__init__.py -------------------------------------------------------------------------------- /src/extr/pipelines/pipes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/pipelines/pipes.py -------------------------------------------------------------------------------- /src/extr/regexes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/regexes/__init__.py -------------------------------------------------------------------------------- /src/extr/regexes/regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/regexes/regex.py -------------------------------------------------------------------------------- /src/extr/relations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/relations/__init__.py -------------------------------------------------------------------------------- /src/extr/relations/annotator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/relations/annotator.py -------------------------------------------------------------------------------- /src/extr/relations/extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/relations/extractor.py -------------------------------------------------------------------------------- /src/extr/relations/label_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/relations/label_builder.py -------------------------------------------------------------------------------- /src/extr/relations/viewers/__init__.py: -------------------------------------------------------------------------------- 1 | from .html import HtmlViewer 2 | -------------------------------------------------------------------------------- /src/extr/relations/viewers/html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/relations/viewers/html.py -------------------------------------------------------------------------------- /src/extr/tokenizers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/tokenizers/__init__.py -------------------------------------------------------------------------------- /src/extr/tokenizers/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/tokenizers/tokenizer.py -------------------------------------------------------------------------------- /src/extr/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/utils/__init__.py -------------------------------------------------------------------------------- /src/extr/utils/iterutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/utils/iterutils.py -------------------------------------------------------------------------------- /src/extr/utils/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/src/extr/utils/query.py -------------------------------------------------------------------------------- /tests/test_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_context.py -------------------------------------------------------------------------------- /tests/test_end_to_end.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_end_to_end.py -------------------------------------------------------------------------------- /tests/test_entities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_entities.py -------------------------------------------------------------------------------- /tests/test_entities_viewers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_entities_viewers.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_regex.py -------------------------------------------------------------------------------- /tests/test_relations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_relations.py -------------------------------------------------------------------------------- /tests/test_relations_viewers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_relations_viewers.py -------------------------------------------------------------------------------- /tests/test_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpasse/extr/HEAD/tests/test_tokenizer.py --------------------------------------------------------------------------------