Ⅰ. 插件描述
A vim plugin using MarkovChain to hint words from script to help my wordingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'daizeng1984/my-worddoctor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'daizeng1984/my-worddoctor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'daizeng1984/my-worddoctor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/daizeng1984/my-worddoctor
Ⅳ. 文档说明
# Wh.D. (Word Hint Doctor)
Whd is a vim plugin that can generate words based on training text to help non-English writer to improve their wording and have fun.
Markov Chain (Primitive)
A very simple model to predict words and it only bases on the order # of words. If we have only a small amount of txt files this will work!
Word RNN
TODO
- [ ] Function that allow to refresh and add more training samples
- [ ] Consider punctuation in training text
[ ] Use Word RNN? Remote server?
- [ ] It's heavy to train txt with RNN but perhaps we could put it to a service, you can choose the favorite book from library and download the trained session.
- [ ] Work locally is also okay if the training time is acceptable...