Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ install:

os:
- linux

# command to run tests, e.g. python setup.py test
script:
coverage run --source=pythainlp setup.py test

after_success:
coveralls

Expand Down
14 changes: 5 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ help:

clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts


clean-build: ## remove build artifacts
rm -fr build/
rm -fr dist/
Expand All @@ -51,19 +50,16 @@ lint: ## check style with flake8
flake8 pythainlp tests

test: ## run tests quickly with the default Python

python setup.py test
python setup.py test

test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python

coverage run --source pythainlp setup.py test

coverage report -m
coverage html
$(BROWSER) htmlcov/index.html
coverage run --source pythainlp setup.py test
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

release: clean ## package and upload a release
python setup.py sdist upload
Expand Down
49 changes: 0 additions & 49 deletions conda.recipe/meta-old.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.7.2" %}
{% set version = "2.0.1" %}

package:
name: pythainlp
Expand Down
6 changes: 1 addition & 5 deletions docs/api/spell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ Modules
-------

.. autofunction:: spell
.. autofunction:: pythainlp.spell.pn.spell
.. autofunction:: pythainlp.spell.pn.prob
.. autofunction:: pythainlp.spell.pn.correct
.. autofunction:: pythainlp.spell.pn.known
.. autofunction:: pythainlp.spell.pn.dictionary
.. autofunction:: correct
6 changes: 3 additions & 3 deletions docs/api/util.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Modules
.. autofunction:: digit_to_text
.. autofunction:: eng_to_thai
.. autofunction:: find_keyword
.. autofunction:: is_thai
.. autofunction:: is_thaichar
.. autofunction:: is_thaiword
.. autofunction:: countthai
.. autofunction:: isthai
.. autofunction:: isthaichar
.. autofunction:: normalize
.. autofunction:: now_reign_year
.. autofunction:: num_to_thaiword
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions docs/whatsnew-1.7.md

This file was deleted.

2 changes: 1 addition & 1 deletion meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.7.2" %}
{% set version = "2.0.1" %}

package:
name: pythainlp
Expand Down
Loading