如下是<Python Text Processing with NLTK 2.0 Cookbook>一书部分章节的代码笔记. Tokenizing text into sentences >>> para = "Hello World. It's good to see you. Thanks for buying this book." >>> from nltk.tokenize import sent_tokenize >&g…
将本地开发完的SDK代码上传到SVN上面:an error occurred while contacting the repository The server may be unreachable or the URL may be incorrect 突然间意识到,我的代码是在本地搭建了一个git仓库用来管理的,里面还有.git的隐藏文件. 解决:在终端中按照下面的命令,进行显示和隐藏 隐藏文件 # 显示隐藏文件 defaults write com.apple.finder Apple…