Skip to content

Instantly share code, notes, and snippets.

View craftsliu's full-sized avatar
🎯
Focusing

craftsliu craftsliu

🎯
Focusing
  • Tencent
  • Shenzhen
View GitHub Profile
@craftsliu
craftsliu / 词性标记.md
Last active April 19, 2018 02:46 — forked from luw2007/词性标记.md
词性标记: 包含 ICTPOS3.0词性标记集、ICTCLAS 汉语词性标注集、jieba 字典中出现的词性、simhash 中可以忽略的部分词性

词的分类

  • 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
  • 虚词:副词、介词、连词、助词、拟声词、叹词。

ICTPOS3.0词性标记集

n 名词

nr 人名

@craftsliu
craftsliu / lstm-lm.py
Last active August 29, 2015 14:11 — forked from neubig/lstm-lm.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This is a simplified implementation of the LSTM language model (by Graham Neubig)
#
# LSTM Neural Networks for Language Modeling
# Martin Sundermeyer, Ralf Schlüter, Hermann Ney
# InterSpeech 2012
#
# The structure of the model is extremely simple. At every time step we