Previously software engineer! Currently NLP explorer!
hadifar / grammarcorrection Goto Github PK
View Code? Open in Web Editor NEWGrammar Correction with Neural Network (Seq2Seq with Attention)
Grammar Correction with Neural Network (Seq2Seq with Attention)
After running train_script.sh
++ source ../paths.sh
+++++ dirname ../paths.sh
++++ cd ..
++++ pwd
+++ BASE_DIR=/home/abhinavsingh/GrammarCorrection-master
+++ DATA_DIR=/home/abhinavsingh/GrammarCorrection-master/data
++ ROOT_DIR=/home/abhinavsingh/GrammarCorrection-master
++ chmod u+x /home/abhinavsingh/GrammarCorrection-master/models/prepare_data.py
++ chmod u+x /home/abhinavsingh/GrammarCorrection-master/models/train.py
++ chmod u+x /home/abhinavsingh/GrammarCorrection-master/models/predict.py
++ /home/abhinavsingh/GrammarCorrection-master/models/prepare_data.py --text_A=/home/abhinavsingh/GrammarCorrection-master/data/final-train/final-train.tok.src --text_B=/home/abhinavsingh/GrammarCorrection-master/data/final-train/final-train.tok.trg --cache_dir=/home/abhinavsingh/GrammarCorrection-master/cahche/
Traceback (most recent call last):
File "/home/abhinavsingh/GrammarCorrection-master/models/prepare_data.py", line 43, in
np.save(open(args.cache_dir + config.CACHE_SOURCE, 'wb'), source)
FileNotFoundError: [Errno 2] No such file or directory: '/home/abhinavsingh/GrammarCorrection-master/cahche/cache_source.npy'
This is a very interesting project, congrats :D
Could you please update your readme file to share some of your results? like adding some grammar correction examples. So we can now what this model is capable of.
predict.py contains key values , what is replacement for that
Where is the pattern/en.py file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.