├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ └── github-actions.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── dataqa-ui ├── .babelrc ├── .gitignore ├── .npmrc ├── package.json ├── public │ ├── images │ │ └── protractor.png │ └── index.html ├── src │ ├── app.js │ ├── components │ │ ├── NotFoundPage.js │ │ ├── SideBar.js │ │ ├── constants.js │ │ ├── file-upload │ │ │ ├── FileUploadMain.js │ │ │ ├── MultipleFileUploadForm.js │ │ │ ├── SingleFileUploadForm.js │ │ │ └── UploadFileButton.js │ │ ├── highlightable │ │ │ ├── Highlightable.js │ │ │ ├── Range.js │ │ │ ├── helpers.js │ │ │ └── nodes │ │ │ │ ├── EmojiNode.js │ │ │ │ ├── Node.js │ │ │ │ └── UrlNode.js │ │ ├── label-page │ │ │ ├── LabelPage.js │ │ │ ├── common │ │ │ │ ├── LabelNavigationSimple.js │ │ │ │ └── TextNavigation.js │ │ │ ├── entity-disambiguation │ │ │ │ ├── EDLabelPage.js │ │ │ │ ├── KbSearch.js │ │ │ │ ├── LabelNavigation.js │ │ │ │ ├── Navigation.js │ │ │ │ └── Text.js │ │ │ └── supervised │ │ │ │ ├── SupervisedLabelPage.js │ │ │ │ ├── classification │ │ │ │ ├── LabelNavigation.js │ │ │ │ ├── MainArea.js │ │ │ │ └── Navigation.js │ │ │ │ └── ner │ │ │ │ ├── HighlightableTable.js │ │ │ │ ├── HighlightableText.js │ │ │ │ ├── LabelNavigation.js │ │ │ │ ├── MainArea.js │ │ │ │ └── Navigation.js │ │ ├── project-summary │ │ │ ├── ProjectMain.js │ │ │ ├── ProjectTitle.js │ │ │ ├── common │ │ │ │ ├── DeleteProjectButton.js │ │ │ │ └── FileDownloadButton.js │ │ │ ├── entity-disambiguation │ │ │ │ └── EntityDisambiguationProjectMain.js │ │ │ └── supervised │ │ │ │ ├── ExportRulesButton.js │ │ │ │ ├── LabelTable.js │ │ │ │ ├── PerformanceTable.js │ │ │ │ ├── ProjectDataDrawers.js │ │ │ │ ├── RuleTable.js │ │ │ │ ├── SupervisedProjectMain.js │ │ │ │ ├── classification │ │ │ │ ├── LabelTableClassification.js │ │ │ │ └── RuleTableClassification.js │ │ │ │ └── ner │ │ │ │ ├── LabelTableNER.js │ │ │ │ └── RuleTableNER.js │ │ ├── projects │ │ │ └── Projects.js │ │ ├── rules │ │ │ ├── main-page │ │ │ │ ├── ImportRuleCard.js │ │ │ │ └── RuleMain.js │ │ │ └── rule-forms │ │ │ │ ├── base │ │ │ │ ├── CaseSensitive.js │ │ │ │ ├── ClassDefinitionBox.js │ │ │ │ ├── ContainOrDoesNotContain.js │ │ │ │ ├── GenericOrderedRule.js │ │ │ │ ├── InputField.js │ │ │ │ ├── OptionSelection.js │ │ │ │ ├── RuleSubmit.js │ │ │ │ ├── RuleSubmitButton.js │ │ │ │ ├── SentenceOrFullText.js │ │ │ │ └── TypeSelector.js │ │ │ │ ├── classification-rules │ │ │ │ ├── NonOrderedRule.js │ │ │ │ ├── OrderedRule.js │ │ │ │ └── SentimentRule.js │ │ │ │ └── ner-rules │ │ │ │ ├── NounPhraseRule.js │ │ │ │ └── RegexRule.js │ │ ├── search │ │ │ ├── LabelComponent.js │ │ │ ├── Result.js │ │ │ ├── ResultwithLabels.js │ │ │ ├── RuleFilters.js │ │ │ ├── Search.js │ │ │ ├── buildRequest.js │ │ │ ├── buildState.js │ │ │ ├── getSearchTextComponent.js │ │ │ └── runRequest.js │ │ ├── set-project-params │ │ │ ├── ClassNames.js │ │ │ └── ProjectParamsPage.js │ │ ├── utils.js │ │ └── welcome-page │ │ │ └── WelcomePage.js │ ├── routers │ │ ├── AppRouter.js │ │ └── ProjectStartPage.js │ ├── styles │ │ └── theme.js │ └── utils.js ├── webpack.common.js ├── webpack.dev.js ├── webpack.prod.js └── yarn.lock ├── github_images ├── merged.gif ├── ner_rule.gif └── rule_creation.gif ├── requirements.txt ├── setup.py └── src └── dataqa ├── __init__.py ├── api ├── __init__.py ├── api_fns │ ├── __init__.py │ ├── delete_project │ │ ├── __init__.py │ │ └── supervised.py │ ├── export_results │ │ ├── __init__.py │ │ ├── entity_disambiguation.py │ │ └── supervised.py │ ├── import_rules │ │ ├── __init__.py │ │ └── supervised.py │ ├── label │ │ ├── __init__.py │ │ ├── entity_disambiguation.py │ │ └── supervised.py │ ├── project_creation │ │ ├── __init__.py │ │ ├── common.py │ │ ├── entity_disambiguation.py │ │ └── supervised.py │ ├── project_settings │ │ ├── __init__.py │ │ └── supervised.py │ ├── project_stats │ │ ├── __init__.py │ │ └── supervised.py │ ├── rules │ │ ├── __init__.py │ │ └── rule_fns.py │ └── utils.py ├── blueprints │ ├── __init__.py │ ├── common.py │ ├── entity_disambiguation.py │ └── supervised.py ├── static │ └── protractor.png └── templates │ └── index.html ├── config ├── __init__.py ├── common_config.ini └── config_reader.py ├── constants.py ├── db ├── __init__.py ├── connection.py ├── models.py ├── ops │ ├── __init__.py │ ├── common.py │ ├── entity_disambiguation.py │ └── supervised.py ├── schemas.py ├── scripts │ ├── __init__.py │ ├── create_tables.py │ ├── drop_tables.py │ └── reset.py └── utils.py ├── elasticsearch ├── __init__.py └── client │ ├── __init__.py │ ├── queries │ ├── __init__.py │ ├── add_entity.py │ ├── add_ground_truth_ids.py │ ├── all_docs.py │ ├── all_docs_with_manual_entities.py │ ├── docs_specific_rule.py │ ├── docs_with_any_rule.py │ ├── docs_with_any_rule_or_manual_label.py │ ├── docs_with_empty_manual_entities.py │ ├── docs_with_manual_label.py │ ├── docs_with_no_rule.py │ ├── docs_with_predicted_labels.py │ ├── script_delete_rules_predicted_label.py │ ├── specific_doc_ids.py │ └── top_docs_per_entity.py │ ├── scripts │ ├── __init__.py │ └── create_index.py │ └── utils │ ├── __init__.py │ ├── classification.py │ ├── common.py │ ├── entity_disambiguation.py │ └── ner.py ├── entry_points ├── __init__.py └── run_app.py ├── ml ├── __init__.py ├── distant_supervision.py ├── metrics │ ├── README.md │ ├── __init__.py │ ├── metrics.py │ └── ner.py ├── notebook │ ├── __init__.py │ ├── active_learning.py │ ├── distant_supervision.py │ └── utils.py └── sentiment.py ├── nlp ├── __init__.py ├── nlp_classification.py ├── nlp_ner.py ├── nlp_utils.py ├── spacy_file_utils.py └── spacy_nlp.py ├── rules ├── __init__.py └── labelling.py ├── scripts ├── __init__.py ├── reset_sql_es.py ├── run_tests.py ├── start_app.py └── uninstall_app.py ├── tests ├── __init__.py ├── resources │ ├── config │ │ └── elasticsearch │ │ │ ├── elasticsearch.keystore │ │ │ ├── elasticsearch.yml │ │ │ ├── jvm.options │ │ │ └── log4j2.properties │ ├── test_data.csv │ ├── test_data_class_names_classification.csv │ ├── test_data_class_names_ner.csv │ ├── test_data_kb.csv │ └── test_data_mentions.csv ├── tests_integration │ ├── __init__.py │ ├── conftest.py │ ├── test_classification.py │ ├── test_ed.py │ └── test_ner.py └── tests_unit │ ├── __init__.py │ ├── ml │ ├── __init__.py │ └── test_metrics.py │ └── nlp │ ├── __init__.py │ └── test_nlp_ner.py └── wiki ├── __init__.py └── utils.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/github-actions.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/.github/workflows/github-actions.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/README.md -------------------------------------------------------------------------------- /dataqa-ui/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/.babelrc -------------------------------------------------------------------------------- /dataqa-ui/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bundle.js -------------------------------------------------------------------------------- /dataqa-ui/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true -------------------------------------------------------------------------------- /dataqa-ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/package.json -------------------------------------------------------------------------------- /dataqa-ui/public/images/protractor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/public/images/protractor.png -------------------------------------------------------------------------------- /dataqa-ui/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/public/index.html -------------------------------------------------------------------------------- /dataqa-ui/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/app.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/NotFoundPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/NotFoundPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/SideBar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/SideBar.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/constants.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/file-upload/FileUploadMain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/file-upload/FileUploadMain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/file-upload/MultipleFileUploadForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/file-upload/MultipleFileUploadForm.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/file-upload/SingleFileUploadForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/file-upload/SingleFileUploadForm.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/file-upload/UploadFileButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/file-upload/UploadFileButton.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/Highlightable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/Highlightable.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/Range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/Range.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/helpers.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/nodes/EmojiNode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/nodes/EmojiNode.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/nodes/Node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/nodes/Node.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/highlightable/nodes/UrlNode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/highlightable/nodes/UrlNode.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/LabelPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/LabelPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/common/LabelNavigationSimple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/common/LabelNavigationSimple.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/common/TextNavigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/common/TextNavigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/entity-disambiguation/EDLabelPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/entity-disambiguation/EDLabelPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/entity-disambiguation/KbSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/entity-disambiguation/KbSearch.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/entity-disambiguation/LabelNavigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/entity-disambiguation/LabelNavigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/entity-disambiguation/Navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/entity-disambiguation/Navigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/entity-disambiguation/Text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/entity-disambiguation/Text.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/SupervisedLabelPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/SupervisedLabelPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/classification/LabelNavigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/classification/LabelNavigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/classification/MainArea.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/classification/MainArea.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/classification/Navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/classification/Navigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/ner/HighlightableTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/ner/HighlightableTable.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/ner/HighlightableText.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/ner/HighlightableText.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/ner/LabelNavigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/ner/LabelNavigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/ner/MainArea.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/ner/MainArea.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/label-page/supervised/ner/Navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/label-page/supervised/ner/Navigation.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/ProjectMain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/ProjectMain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/ProjectTitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/ProjectTitle.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/common/DeleteProjectButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/common/DeleteProjectButton.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/common/FileDownloadButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/common/FileDownloadButton.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/entity-disambiguation/EntityDisambiguationProjectMain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/entity-disambiguation/EntityDisambiguationProjectMain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/ExportRulesButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/ExportRulesButton.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/LabelTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/LabelTable.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/PerformanceTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/PerformanceTable.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/ProjectDataDrawers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/ProjectDataDrawers.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/RuleTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/RuleTable.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/SupervisedProjectMain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/SupervisedProjectMain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/classification/LabelTableClassification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/classification/LabelTableClassification.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/classification/RuleTableClassification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/classification/RuleTableClassification.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/ner/LabelTableNER.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/ner/LabelTableNER.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/project-summary/supervised/ner/RuleTableNER.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/project-summary/supervised/ner/RuleTableNER.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/projects/Projects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/projects/Projects.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/main-page/ImportRuleCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/main-page/ImportRuleCard.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/main-page/RuleMain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/main-page/RuleMain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/CaseSensitive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/CaseSensitive.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/ClassDefinitionBox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/ClassDefinitionBox.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/ContainOrDoesNotContain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/ContainOrDoesNotContain.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/GenericOrderedRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/GenericOrderedRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/InputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/InputField.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/OptionSelection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/OptionSelection.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/RuleSubmit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/RuleSubmit.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/RuleSubmitButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/RuleSubmitButton.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/SentenceOrFullText.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/SentenceOrFullText.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/base/TypeSelector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/base/TypeSelector.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/classification-rules/NonOrderedRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/classification-rules/NonOrderedRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/classification-rules/OrderedRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/classification-rules/OrderedRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/classification-rules/SentimentRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/classification-rules/SentimentRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/ner-rules/NounPhraseRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/ner-rules/NounPhraseRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/rules/rule-forms/ner-rules/RegexRule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/rules/rule-forms/ner-rules/RegexRule.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/LabelComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/LabelComponent.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/Result.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/Result.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/ResultwithLabels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/ResultwithLabels.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/RuleFilters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/RuleFilters.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/Search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/Search.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/buildRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/buildRequest.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/buildState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/buildState.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/getSearchTextComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/getSearchTextComponent.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/search/runRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/search/runRequest.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/set-project-params/ClassNames.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/set-project-params/ClassNames.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/set-project-params/ProjectParamsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/set-project-params/ProjectParamsPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/utils.js -------------------------------------------------------------------------------- /dataqa-ui/src/components/welcome-page/WelcomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/components/welcome-page/WelcomePage.js -------------------------------------------------------------------------------- /dataqa-ui/src/routers/AppRouter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/routers/AppRouter.js -------------------------------------------------------------------------------- /dataqa-ui/src/routers/ProjectStartPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/routers/ProjectStartPage.js -------------------------------------------------------------------------------- /dataqa-ui/src/styles/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/styles/theme.js -------------------------------------------------------------------------------- /dataqa-ui/src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/src/utils.js -------------------------------------------------------------------------------- /dataqa-ui/webpack.common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/webpack.common.js -------------------------------------------------------------------------------- /dataqa-ui/webpack.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/webpack.dev.js -------------------------------------------------------------------------------- /dataqa-ui/webpack.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/webpack.prod.js -------------------------------------------------------------------------------- /dataqa-ui/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/dataqa-ui/yarn.lock -------------------------------------------------------------------------------- /github_images/merged.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/github_images/merged.gif -------------------------------------------------------------------------------- /github_images/ner_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/github_images/ner_rule.gif -------------------------------------------------------------------------------- /github_images/rule_creation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/github_images/rule_creation.gif -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/setup.py -------------------------------------------------------------------------------- /src/dataqa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/__init__.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/delete_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/delete_project/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/delete_project/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/export_results/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/export_results/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/export_results/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/export_results/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/export_results/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/import_rules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/import_rules/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/import_rules/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/label/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/label/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/label/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/label/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/label/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_creation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_creation/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/project_creation/common.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_creation/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/project_creation/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_creation/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/project_creation/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_settings/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_settings/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/project_settings/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_stats/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/project_stats/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/project_stats/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/rules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/rules/rule_fns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/rules/rule_fns.py -------------------------------------------------------------------------------- /src/dataqa/api/api_fns/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/api_fns/utils.py -------------------------------------------------------------------------------- /src/dataqa/api/blueprints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/api/blueprints/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/blueprints/common.py -------------------------------------------------------------------------------- /src/dataqa/api/blueprints/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/blueprints/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/api/blueprints/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/blueprints/supervised.py -------------------------------------------------------------------------------- /src/dataqa/api/static/protractor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/static/protractor.png -------------------------------------------------------------------------------- /src/dataqa/api/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/api/templates/index.html -------------------------------------------------------------------------------- /src/dataqa/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/config/common_config.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/config/common_config.ini -------------------------------------------------------------------------------- /src/dataqa/config/config_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/config/config_reader.py -------------------------------------------------------------------------------- /src/dataqa/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/constants.py -------------------------------------------------------------------------------- /src/dataqa/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/db/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/connection.py -------------------------------------------------------------------------------- /src/dataqa/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/models.py -------------------------------------------------------------------------------- /src/dataqa/db/ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/db/ops/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/ops/common.py -------------------------------------------------------------------------------- /src/dataqa/db/ops/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/ops/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/db/ops/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/ops/supervised.py -------------------------------------------------------------------------------- /src/dataqa/db/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/schemas.py -------------------------------------------------------------------------------- /src/dataqa/db/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/db/scripts/create_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/scripts/create_tables.py -------------------------------------------------------------------------------- /src/dataqa/db/scripts/drop_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/scripts/drop_tables.py -------------------------------------------------------------------------------- /src/dataqa/db/scripts/reset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/scripts/reset.py -------------------------------------------------------------------------------- /src/dataqa/db/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/db/utils.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/__init__.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/add_entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/add_entity.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/add_ground_truth_ids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/add_ground_truth_ids.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/all_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/all_docs.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/all_docs_with_manual_entities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/all_docs_with_manual_entities.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_specific_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_specific_rule.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_any_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_any_rule.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_any_rule_or_manual_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_any_rule_or_manual_label.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_empty_manual_entities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_empty_manual_entities.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_manual_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_manual_label.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_no_rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_no_rule.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/docs_with_predicted_labels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/docs_with_predicted_labels.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/script_delete_rules_predicted_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/script_delete_rules_predicted_label.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/specific_doc_ids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/specific_doc_ids.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/queries/top_docs_per_entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/queries/top_docs_per_entity.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/scripts/create_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/scripts/create_index.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/utils/classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/utils/classification.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/utils/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/utils/common.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/utils/entity_disambiguation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/utils/entity_disambiguation.py -------------------------------------------------------------------------------- /src/dataqa/elasticsearch/client/utils/ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/elasticsearch/client/utils/ner.py -------------------------------------------------------------------------------- /src/dataqa/entry_points/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/entry_points/run_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/entry_points/run_app.py -------------------------------------------------------------------------------- /src/dataqa/ml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/ml/distant_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/distant_supervision.py -------------------------------------------------------------------------------- /src/dataqa/ml/metrics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/metrics/README.md -------------------------------------------------------------------------------- /src/dataqa/ml/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/ml/metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/metrics/metrics.py -------------------------------------------------------------------------------- /src/dataqa/ml/metrics/ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/metrics/ner.py -------------------------------------------------------------------------------- /src/dataqa/ml/notebook/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/ml/notebook/active_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/notebook/active_learning.py -------------------------------------------------------------------------------- /src/dataqa/ml/notebook/distant_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/notebook/distant_supervision.py -------------------------------------------------------------------------------- /src/dataqa/ml/notebook/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/notebook/utils.py -------------------------------------------------------------------------------- /src/dataqa/ml/sentiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/ml/sentiment.py -------------------------------------------------------------------------------- /src/dataqa/nlp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/nlp/nlp_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/nlp/nlp_classification.py -------------------------------------------------------------------------------- /src/dataqa/nlp/nlp_ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/nlp/nlp_ner.py -------------------------------------------------------------------------------- /src/dataqa/nlp/nlp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/nlp/nlp_utils.py -------------------------------------------------------------------------------- /src/dataqa/nlp/spacy_file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/nlp/spacy_file_utils.py -------------------------------------------------------------------------------- /src/dataqa/nlp/spacy_nlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/nlp/spacy_nlp.py -------------------------------------------------------------------------------- /src/dataqa/rules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/rules/labelling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/rules/labelling.py -------------------------------------------------------------------------------- /src/dataqa/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/scripts/reset_sql_es.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/scripts/reset_sql_es.py -------------------------------------------------------------------------------- /src/dataqa/scripts/run_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/scripts/run_tests.py -------------------------------------------------------------------------------- /src/dataqa/scripts/start_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/scripts/start_app.py -------------------------------------------------------------------------------- /src/dataqa/scripts/uninstall_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/scripts/uninstall_app.py -------------------------------------------------------------------------------- /src/dataqa/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/tests/resources/config/elasticsearch/elasticsearch.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/config/elasticsearch/elasticsearch.keystore -------------------------------------------------------------------------------- /src/dataqa/tests/resources/config/elasticsearch/elasticsearch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/config/elasticsearch/elasticsearch.yml -------------------------------------------------------------------------------- /src/dataqa/tests/resources/config/elasticsearch/jvm.options: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/config/elasticsearch/jvm.options -------------------------------------------------------------------------------- /src/dataqa/tests/resources/config/elasticsearch/log4j2.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/config/elasticsearch/log4j2.properties -------------------------------------------------------------------------------- /src/dataqa/tests/resources/test_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/test_data.csv -------------------------------------------------------------------------------- /src/dataqa/tests/resources/test_data_class_names_classification.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/test_data_class_names_classification.csv -------------------------------------------------------------------------------- /src/dataqa/tests/resources/test_data_class_names_ner.csv: -------------------------------------------------------------------------------- 1 | label 2 | drug 3 | condition 4 | -------------------------------------------------------------------------------- /src/dataqa/tests/resources/test_data_kb.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/test_data_kb.csv -------------------------------------------------------------------------------- /src/dataqa/tests/resources/test_data_mentions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/resources/test_data_mentions.csv -------------------------------------------------------------------------------- /src/dataqa/tests/tests_integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/tests/tests_integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_integration/conftest.py -------------------------------------------------------------------------------- /src/dataqa/tests/tests_integration/test_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_integration/test_classification.py -------------------------------------------------------------------------------- /src/dataqa/tests/tests_integration/test_ed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_integration/test_ed.py -------------------------------------------------------------------------------- /src/dataqa/tests/tests_integration/test_ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_integration/test_ner.py -------------------------------------------------------------------------------- /src/dataqa/tests/tests_unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/tests/tests_unit/ml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/tests/tests_unit/ml/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_unit/ml/test_metrics.py -------------------------------------------------------------------------------- /src/dataqa/tests/tests_unit/nlp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/tests/tests_unit/nlp/test_nlp_ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/tests/tests_unit/nlp/test_nlp_ner.py -------------------------------------------------------------------------------- /src/dataqa/wiki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataqa/wiki/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dataqa/nlp-labelling/HEAD/src/dataqa/wiki/utils.py --------------------------------------------------------------------------------