├── .gitignore ├── LICENSE.txt ├── README.md ├── assets ├── Bi-LSTM.png ├── accuracy.png └── loss.png ├── dl_segmenter ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── core.cpython-36.pyc │ ├── data_loader.cpython-36.pyc │ └── utils.cpython-36.pyc ├── core.py ├── custom │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── callbacks.cpython-36.pyc │ │ └── layers.cpython-36.pyc │ └── callbacks.py ├── data_loader.py └── utils.py ├── examples ├── decode_example.py └── train_example.py ├── setup.py ├── tools ├── __init__.py ├── convert_to_h5.py ├── make_dicts.py ├── ner_data_preprocess.py ├── predict.py ├── score.py ├── score_preprocess.py ├── total_size.py └── word_count.py └── train_example.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/README.md -------------------------------------------------------------------------------- /assets/Bi-LSTM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/assets/Bi-LSTM.png -------------------------------------------------------------------------------- /assets/accuracy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/assets/accuracy.png -------------------------------------------------------------------------------- /assets/loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/assets/loss.png -------------------------------------------------------------------------------- /dl_segmenter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/__init__.py -------------------------------------------------------------------------------- /dl_segmenter/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/__pycache__/core.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/__pycache__/core.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/__pycache__/data_loader.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/__pycache__/data_loader.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/__pycache__/utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/__pycache__/utils.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/core.py -------------------------------------------------------------------------------- /dl_segmenter/custom/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dl_segmenter/custom/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/custom/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/custom/__pycache__/callbacks.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/custom/__pycache__/callbacks.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/custom/__pycache__/layers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/custom/__pycache__/layers.cpython-36.pyc -------------------------------------------------------------------------------- /dl_segmenter/custom/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/custom/callbacks.py -------------------------------------------------------------------------------- /dl_segmenter/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/data_loader.py -------------------------------------------------------------------------------- /dl_segmenter/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/dl_segmenter/utils.py -------------------------------------------------------------------------------- /examples/decode_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/examples/decode_example.py -------------------------------------------------------------------------------- /examples/train_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/examples/train_example.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/setup.py -------------------------------------------------------------------------------- /tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/convert_to_h5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/convert_to_h5.py -------------------------------------------------------------------------------- /tools/make_dicts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/make_dicts.py -------------------------------------------------------------------------------- /tools/ner_data_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/ner_data_preprocess.py -------------------------------------------------------------------------------- /tools/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/predict.py -------------------------------------------------------------------------------- /tools/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/score.py -------------------------------------------------------------------------------- /tools/score_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/score_preprocess.py -------------------------------------------------------------------------------- /tools/total_size.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/total_size.py -------------------------------------------------------------------------------- /tools/word_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/tools/word_count.py -------------------------------------------------------------------------------- /train_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GlassyWing/bi-lstm-crf/HEAD/train_example.py --------------------------------------------------------------------------------