├── .gitignore ├── License.md ├── PIPELINE.md ├── README.md ├── handling_geoquery_question.md ├── props ├── __init__.py ├── applications │ ├── __init__.py │ ├── parse_props.py │ ├── run.py │ └── viz_tree.py ├── bottle.py ├── constituency_tree │ ├── __init__.py │ ├── definitions.py │ ├── my_definitions.py │ ├── sexprs.py │ ├── tree.py │ └── tree_readers.py ├── dependency_tree │ ├── Tense │ │ ├── __init__.py │ │ └── tense_rules.py │ ├── __init__.py │ ├── definitions.py │ ├── tree.py │ └── tree_readers.py ├── example ├── fail.jpg ├── file_handling.py ├── graph_representation │ ├── .gitignore │ ├── __init__.py │ ├── convert.py │ ├── fix_graph.py │ ├── graphParsingException.py │ ├── graph_utils.py │ ├── graph_wrapper.py │ ├── heuristics_over_graph.py │ ├── identify_raising_control.py │ ├── newNode.py │ ├── node.py │ ├── parse_graph.py │ ├── propagate.py │ ├── proposition.py │ ├── to_annotated_graphs.py │ ├── to_graph_representation.py │ └── word.py ├── html │ └── visualize.html ├── install │ ├── install.sh │ └── requirements.txt ├── parse_server.py ├── proposition_structure │ ├── __init__.py │ ├── proposition.py │ ├── proposition_structure.py │ └── syntactic_item.py ├── raising_subj_verbs.txt ├── time_annotator │ ├── __init__.py │ ├── annotation.py │ ├── time_annotator.py │ ├── timex.py │ └── timex_wrapper.py ├── unit_tests │ ├── __init__.py │ ├── props_test.py │ └── sanity_test.py ├── visualizations │ ├── __init__.py │ └── brat_visualizer.py └── webinterface │ ├── .gitignore │ ├── __init__.py │ ├── blank.html │ ├── bottle.py │ ├── form.html │ ├── log.py │ └── propextraction.html ├── run_pipeline.sh ├── sample.json ├── sample.txt ├── setup.py └── stanford_parser.props /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/.gitignore -------------------------------------------------------------------------------- /License.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/License.md -------------------------------------------------------------------------------- /PIPELINE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/PIPELINE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/README.md -------------------------------------------------------------------------------- /handling_geoquery_question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/handling_geoquery_question.md -------------------------------------------------------------------------------- /props/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /props/applications/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /props/applications/parse_props.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/applications/parse_props.py -------------------------------------------------------------------------------- /props/applications/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/applications/run.py -------------------------------------------------------------------------------- /props/applications/viz_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/applications/viz_tree.py -------------------------------------------------------------------------------- /props/bottle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/bottle.py -------------------------------------------------------------------------------- /props/constituency_tree/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/constituency_tree/definitions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/constituency_tree/definitions.py -------------------------------------------------------------------------------- /props/constituency_tree/my_definitions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/constituency_tree/my_definitions.py -------------------------------------------------------------------------------- /props/constituency_tree/sexprs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/constituency_tree/sexprs.py -------------------------------------------------------------------------------- /props/constituency_tree/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/constituency_tree/tree.py -------------------------------------------------------------------------------- /props/constituency_tree/tree_readers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/constituency_tree/tree_readers.py -------------------------------------------------------------------------------- /props/dependency_tree/Tense/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'user' 2 | -------------------------------------------------------------------------------- /props/dependency_tree/Tense/tense_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/dependency_tree/Tense/tense_rules.py -------------------------------------------------------------------------------- /props/dependency_tree/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/dependency_tree/definitions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/dependency_tree/definitions.py -------------------------------------------------------------------------------- /props/dependency_tree/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/dependency_tree/tree.py -------------------------------------------------------------------------------- /props/dependency_tree/tree_readers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/dependency_tree/tree_readers.py -------------------------------------------------------------------------------- /props/example: -------------------------------------------------------------------------------- 1 | Barack Obama, the US president, just came back from Russia. 2 | -------------------------------------------------------------------------------- /props/fail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/fail.jpg -------------------------------------------------------------------------------- /props/file_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/file_handling.py -------------------------------------------------------------------------------- /props/graph_representation/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/.gitignore -------------------------------------------------------------------------------- /props/graph_representation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/graph_representation/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/convert.py -------------------------------------------------------------------------------- /props/graph_representation/fix_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/fix_graph.py -------------------------------------------------------------------------------- /props/graph_representation/graphParsingException.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/graphParsingException.py -------------------------------------------------------------------------------- /props/graph_representation/graph_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/graph_utils.py -------------------------------------------------------------------------------- /props/graph_representation/graph_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/graph_wrapper.py -------------------------------------------------------------------------------- /props/graph_representation/heuristics_over_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/heuristics_over_graph.py -------------------------------------------------------------------------------- /props/graph_representation/identify_raising_control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/identify_raising_control.py -------------------------------------------------------------------------------- /props/graph_representation/newNode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/newNode.py -------------------------------------------------------------------------------- /props/graph_representation/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/node.py -------------------------------------------------------------------------------- /props/graph_representation/parse_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/parse_graph.py -------------------------------------------------------------------------------- /props/graph_representation/propagate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/propagate.py -------------------------------------------------------------------------------- /props/graph_representation/proposition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/proposition.py -------------------------------------------------------------------------------- /props/graph_representation/to_annotated_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/to_annotated_graphs.py -------------------------------------------------------------------------------- /props/graph_representation/to_graph_representation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/to_graph_representation.py -------------------------------------------------------------------------------- /props/graph_representation/word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/graph_representation/word.py -------------------------------------------------------------------------------- /props/html/visualize.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/html/visualize.html -------------------------------------------------------------------------------- /props/install/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/install/install.sh -------------------------------------------------------------------------------- /props/install/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/install/requirements.txt -------------------------------------------------------------------------------- /props/parse_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/parse_server.py -------------------------------------------------------------------------------- /props/proposition_structure/__init__.py: -------------------------------------------------------------------------------- 1 | import proposition_structure -------------------------------------------------------------------------------- /props/proposition_structure/proposition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/proposition_structure/proposition.py -------------------------------------------------------------------------------- /props/proposition_structure/proposition_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/proposition_structure/proposition_structure.py -------------------------------------------------------------------------------- /props/proposition_structure/syntactic_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/proposition_structure/syntactic_item.py -------------------------------------------------------------------------------- /props/raising_subj_verbs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/raising_subj_verbs.txt -------------------------------------------------------------------------------- /props/time_annotator/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'user' 2 | -------------------------------------------------------------------------------- /props/time_annotator/annotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/time_annotator/annotation.py -------------------------------------------------------------------------------- /props/time_annotator/time_annotator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/time_annotator/time_annotator.py -------------------------------------------------------------------------------- /props/time_annotator/timex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/time_annotator/timex.py -------------------------------------------------------------------------------- /props/time_annotator/timex_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/time_annotator/timex_wrapper.py -------------------------------------------------------------------------------- /props/unit_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/unit_tests/props_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/unit_tests/props_test.py -------------------------------------------------------------------------------- /props/unit_tests/sanity_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/unit_tests/sanity_test.py -------------------------------------------------------------------------------- /props/visualizations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/visualizations/brat_visualizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/visualizations/brat_visualizer.py -------------------------------------------------------------------------------- /props/webinterface/.gitignore: -------------------------------------------------------------------------------- 1 | /.history 2 | /deprequests.log 3 | -------------------------------------------------------------------------------- /props/webinterface/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /props/webinterface/blank.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /props/webinterface/bottle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/webinterface/bottle.py -------------------------------------------------------------------------------- /props/webinterface/form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/webinterface/form.html -------------------------------------------------------------------------------- /props/webinterface/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/webinterface/log.py -------------------------------------------------------------------------------- /props/webinterface/propextraction.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/props/webinterface/propextraction.html -------------------------------------------------------------------------------- /run_pipeline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/run_pipeline.sh -------------------------------------------------------------------------------- /sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/sample.json -------------------------------------------------------------------------------- /sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/sample.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielStanovsky/props/HEAD/setup.py -------------------------------------------------------------------------------- /stanford_parser.props: -------------------------------------------------------------------------------- 1 | ssplit.eolonly=true --------------------------------------------------------------------------------