├── .gitignore ├── License.txt ├── README.md ├── data ├── __init__.py └── data_cxr │ ├── openi_count_label_sent.csv │ ├── openi_filename_section_sent.csv │ ├── openi_label_category_mapping.csv │ ├── openi_test_filenames.csv │ ├── openi_test_set_ground_truth.csv │ └── openi_train_filenames.csv ├── demo.py ├── requirements.txt ├── sarle-labeler-logo.png ├── src ├── __init__.py ├── evaluation.py ├── format_summary_tables.py ├── load.py ├── rules │ ├── __init__.py │ ├── rule_functions.py │ ├── rules_ct.py │ └── rules_cxr.py ├── run_sarle.py ├── sentence_classifier.py ├── sentence_rules.py ├── term_search.py ├── visualizations.py └── vocab │ ├── __init__.py │ ├── gr1cm.py │ ├── vocabulary_ct.py │ ├── vocabulary_cxr.py │ └── vocabulary_locations.py └── tests ├── __init__.py ├── equality_checks.py ├── rules └── test_rule_functions.py ├── test_load.py ├── test_term_search.py └── vocab └── test_gr1cm.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/.gitignore -------------------------------------------------------------------------------- /License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/License.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/data_cxr/openi_count_label_sent.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_count_label_sent.csv -------------------------------------------------------------------------------- /data/data_cxr/openi_filename_section_sent.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_filename_section_sent.csv -------------------------------------------------------------------------------- /data/data_cxr/openi_label_category_mapping.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_label_category_mapping.csv -------------------------------------------------------------------------------- /data/data_cxr/openi_test_filenames.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_test_filenames.csv -------------------------------------------------------------------------------- /data/data_cxr/openi_test_set_ground_truth.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_test_set_ground_truth.csv -------------------------------------------------------------------------------- /data/data_cxr/openi_train_filenames.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/data/data_cxr/openi_train_filenames.csv -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/demo.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/requirements.txt -------------------------------------------------------------------------------- /sarle-labeler-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/sarle-labeler-logo.png -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/evaluation.py -------------------------------------------------------------------------------- /src/format_summary_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/format_summary_tables.py -------------------------------------------------------------------------------- /src/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/load.py -------------------------------------------------------------------------------- /src/rules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/rules/rule_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/rules/rule_functions.py -------------------------------------------------------------------------------- /src/rules/rules_ct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/rules/rules_ct.py -------------------------------------------------------------------------------- /src/rules/rules_cxr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/rules/rules_cxr.py -------------------------------------------------------------------------------- /src/run_sarle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/run_sarle.py -------------------------------------------------------------------------------- /src/sentence_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/sentence_classifier.py -------------------------------------------------------------------------------- /src/sentence_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/sentence_rules.py -------------------------------------------------------------------------------- /src/term_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/term_search.py -------------------------------------------------------------------------------- /src/visualizations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/visualizations.py -------------------------------------------------------------------------------- /src/vocab/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vocab/gr1cm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/vocab/gr1cm.py -------------------------------------------------------------------------------- /src/vocab/vocabulary_ct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/vocab/vocabulary_ct.py -------------------------------------------------------------------------------- /src/vocab/vocabulary_cxr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/vocab/vocabulary_cxr.py -------------------------------------------------------------------------------- /src/vocab/vocabulary_locations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/src/vocab/vocabulary_locations.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/equality_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/tests/equality_checks.py -------------------------------------------------------------------------------- /tests/rules/test_rule_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/tests/rules/test_rule_functions.py -------------------------------------------------------------------------------- /tests/test_load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/tests/test_load.py -------------------------------------------------------------------------------- /tests/test_term_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/tests/test_term_search.py -------------------------------------------------------------------------------- /tests/vocab/test_gr1cm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rachellea/sarle-labeler/HEAD/tests/vocab/test_gr1cm.py --------------------------------------------------------------------------------