We definitely welcome patches and contribution to fastText.py!
Here are some guidelines and information about how to do so.
-
Check out the code:
$ git clone https://github.com/salestock/fastText.py.git $ cd fastText.py $ pip install -r requirements.txt
-
Create a fork of the fastText.py repository.
-
Add your fork as a remote:
$ git remote add fork [email protected]:$YOURGITHUBUSERNAME/fastText.py.git
-
Make changes, commit them.
-
Run the test suite:
$ make install-dev $ make test
-
Push your changes to your fork:
$ git push fork ...
-
Open a pull request.
When filing an issue, make sure to answer these five questions:
- What version of Python are you using (
python --version
)? - What version of
fasttext
are you using (pip list | grep fasttext
)? - What operating system and processor architecture are you using?
- What did you do?
- What did you expect to see?
- What did you see instead?
Unless otherwise noted, the fastText.py source files are distributed under the BSD-style license found in the LICENSE file.