├── .dockerignore ├── .flake8 ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── config.py ├── fetch_and_preprocess.sh ├── lib ├── CollapseUnaryTransformer.java ├── ConstituencyParse.java └── DependencyParse.java ├── main.py ├── requirements.txt ├── scripts ├── download.py ├── download.sh └── preprocess-sick.py └── treelstm ├── Constants.py ├── __init__.py ├── dataset.py ├── metrics.py ├── model.py ├── trainer.py ├── tree.py ├── utils.py └── vocab.py /.dockerignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | .git/ 3 | checkpoints/ 4 | data/ 5 | lib/ 6 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/README.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/config.py -------------------------------------------------------------------------------- /fetch_and_preprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/fetch_and_preprocess.sh -------------------------------------------------------------------------------- /lib/CollapseUnaryTransformer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/lib/CollapseUnaryTransformer.java -------------------------------------------------------------------------------- /lib/ConstituencyParse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/lib/ConstituencyParse.java -------------------------------------------------------------------------------- /lib/DependencyParse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/lib/DependencyParse.java -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/scripts/download.py -------------------------------------------------------------------------------- /scripts/download.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/scripts/download.sh -------------------------------------------------------------------------------- /scripts/preprocess-sick.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/scripts/preprocess-sick.py -------------------------------------------------------------------------------- /treelstm/Constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/Constants.py -------------------------------------------------------------------------------- /treelstm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/__init__.py -------------------------------------------------------------------------------- /treelstm/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/dataset.py -------------------------------------------------------------------------------- /treelstm/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/metrics.py -------------------------------------------------------------------------------- /treelstm/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/model.py -------------------------------------------------------------------------------- /treelstm/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/trainer.py -------------------------------------------------------------------------------- /treelstm/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/tree.py -------------------------------------------------------------------------------- /treelstm/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/utils.py -------------------------------------------------------------------------------- /treelstm/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dasguptar/treelstm.pytorch/HEAD/treelstm/vocab.py --------------------------------------------------------------------------------