├── .gitignore ├── .gitmodules ├── 0-references └── README.md ├── 1-shell-practice ├── 1-fundamental-of-shell │ ├── README.md │ └── run.py ├── 2-learn-to-grep │ ├── 1.dat │ ├── 2.dat │ ├── 3a.dat │ ├── 3b.dat │ ├── 4.dat │ ├── README.md │ └── run.py ├── 3-learn-to-awk │ ├── 1.dat │ ├── 2.dat │ ├── 3.dat │ └── README.md ├── 4-learn-to-sed │ ├── 1.dat │ ├── 2.dat │ └── README.md └── 5-sort │ ├── README.md │ └── query_log.txt ├── 2-python-practice ├── 1-bi-label-to-words │ ├── README.md │ ├── bi-label-to-words.py │ └── data │ │ └── data.in ├── 2-ngram-count │ ├── README.md │ └── ngram-count.py ├── 3-max-matching-word-segmentation │ ├── README.md │ ├── build-dict.py │ ├── eval.dat │ ├── eval.py │ ├── eval.raw │ ├── max-match.py │ ├── train.dat │ └── vocab.large.bin.gz ├── 4-hmm │ ├── hmm.pdf │ └── hmm │ │ ├── count_freqs.py │ │ ├── eval_gene_tagger.py │ │ ├── gene.dev │ │ ├── gene.key │ │ ├── gene.test │ │ ├── gene.train │ │ └── submit.py └── 5-numpy │ └── README.md ├── 3-nlp-practice ├── dataset.py ├── hmm-postagger.ipynb ├── penn.devel.pos.gz ├── penn.test.pos.blind.gz ├── penn.train.pos.gz └── perceptron-classifier-postagger.ipynb ├── 4-mlp-fashion-mnist-practice ├── MLP4Fashion-mnist.ipynb └── README.md ├── README.md ├── data └── ag_news_csv │ ├── classes.txt │ ├── readme.txt │ ├── test.csv │ └── train.csv └── judge ├── __init__.py ├── judge.py └── timeout_command.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/.gitmodules -------------------------------------------------------------------------------- /0-references/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/0-references/README.md -------------------------------------------------------------------------------- /1-shell-practice/1-fundamental-of-shell/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/1-fundamental-of-shell/README.md -------------------------------------------------------------------------------- /1-shell-practice/1-fundamental-of-shell/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/1-fundamental-of-shell/run.py -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/2-learn-to-grep/1.dat -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/2-learn-to-grep/2.dat -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/3a.dat: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | e 5 | d 6 | a 7 | -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/3b.dat: -------------------------------------------------------------------------------- 1 | c 2 | d 3 | a 4 | c 5 | -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/2-learn-to-grep/4.dat -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/2-learn-to-grep/README.md -------------------------------------------------------------------------------- /1-shell-practice/2-learn-to-grep/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/2-learn-to-grep/run.py -------------------------------------------------------------------------------- /1-shell-practice/3-learn-to-awk/1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/3-learn-to-awk/1.dat -------------------------------------------------------------------------------- /1-shell-practice/3-learn-to-awk/2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/3-learn-to-awk/2.dat -------------------------------------------------------------------------------- /1-shell-practice/3-learn-to-awk/3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/3-learn-to-awk/3.dat -------------------------------------------------------------------------------- /1-shell-practice/3-learn-to-awk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/3-learn-to-awk/README.md -------------------------------------------------------------------------------- /1-shell-practice/4-learn-to-sed/1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/4-learn-to-sed/1.dat -------------------------------------------------------------------------------- /1-shell-practice/4-learn-to-sed/2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/4-learn-to-sed/2.dat -------------------------------------------------------------------------------- /1-shell-practice/4-learn-to-sed/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/4-learn-to-sed/README.md -------------------------------------------------------------------------------- /1-shell-practice/5-sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/5-sort/README.md -------------------------------------------------------------------------------- /1-shell-practice/5-sort/query_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/1-shell-practice/5-sort/query_log.txt -------------------------------------------------------------------------------- /2-python-practice/1-bi-label-to-words/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/1-bi-label-to-words/README.md -------------------------------------------------------------------------------- /2-python-practice/1-bi-label-to-words/bi-label-to-words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/1-bi-label-to-words/bi-label-to-words.py -------------------------------------------------------------------------------- /2-python-practice/1-bi-label-to-words/data/data.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/1-bi-label-to-words/data/data.in -------------------------------------------------------------------------------- /2-python-practice/2-ngram-count/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/2-ngram-count/README.md -------------------------------------------------------------------------------- /2-python-practice/2-ngram-count/ngram-count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/2-ngram-count/ngram-count.py -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/README.md -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/build-dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/build-dict.py -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/eval.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/eval.dat -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/eval.py: -------------------------------------------------------------------------------- 1 | ../../corpusproc/bin/eval.py -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/eval.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/eval.raw -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/max-match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/max-match.py -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/train.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/train.dat -------------------------------------------------------------------------------- /2-python-practice/3-max-matching-word-segmentation/vocab.large.bin.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/3-max-matching-word-segmentation/vocab.large.bin.gz -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm.pdf -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/count_freqs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/count_freqs.py -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/eval_gene_tagger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/eval_gene_tagger.py -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/gene.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/gene.dev -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/gene.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/gene.key -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/gene.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/gene.test -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/gene.train: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/gene.train -------------------------------------------------------------------------------- /2-python-practice/4-hmm/hmm/submit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/4-hmm/hmm/submit.py -------------------------------------------------------------------------------- /2-python-practice/5-numpy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/2-python-practice/5-numpy/README.md -------------------------------------------------------------------------------- /3-nlp-practice/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/dataset.py -------------------------------------------------------------------------------- /3-nlp-practice/hmm-postagger.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/hmm-postagger.ipynb -------------------------------------------------------------------------------- /3-nlp-practice/penn.devel.pos.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/penn.devel.pos.gz -------------------------------------------------------------------------------- /3-nlp-practice/penn.test.pos.blind.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/penn.test.pos.blind.gz -------------------------------------------------------------------------------- /3-nlp-practice/penn.train.pos.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/penn.train.pos.gz -------------------------------------------------------------------------------- /3-nlp-practice/perceptron-classifier-postagger.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/3-nlp-practice/perceptron-classifier-postagger.ipynb -------------------------------------------------------------------------------- /4-mlp-fashion-mnist-practice/MLP4Fashion-mnist.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/4-mlp-fashion-mnist-practice/MLP4Fashion-mnist.ipynb -------------------------------------------------------------------------------- /4-mlp-fashion-mnist-practice/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/4-mlp-fashion-mnist-practice/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/README.md -------------------------------------------------------------------------------- /data/ag_news_csv/classes.txt: -------------------------------------------------------------------------------- 1 | World 2 | Sports 3 | Business 4 | Sci/Tech 5 | -------------------------------------------------------------------------------- /data/ag_news_csv/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/data/ag_news_csv/readme.txt -------------------------------------------------------------------------------- /data/ag_news_csv/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/data/ag_news_csv/test.csv -------------------------------------------------------------------------------- /data/ag_news_csv/train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/data/ag_news_csv/train.csv -------------------------------------------------------------------------------- /judge/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/judge/__init__.py -------------------------------------------------------------------------------- /judge/judge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/judge/judge.py -------------------------------------------------------------------------------- /judge/timeout_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HIT-SCIR/scir-training-day/HEAD/judge/timeout_command.py --------------------------------------------------------------------------------