-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from NIHOPA/pattern_to_spacy
Pattern to spaCy
- Loading branch information
Showing
84 changed files
with
82,478 additions
and
1,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.6" | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
from .parenthesis_nester import parenthesis_nester | ||
from .reference_patterns import reference_patterns | ||
|
||
__all__ = [ | ||
'parenthesis_nester', | ||
'reference_patterns', | ||
] | ||
__all__ = ["parenthesis_nester", "reference_patterns"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# One canonical source for the version number, | ||
# Versions should comply with PEP440. | ||
|
||
__version__ = "1.2.3" | ||
__version__ = "2.0.0" | ||
|
||
# 2.0.0 Major update, breaking changes! pattern.en replaced with spaCy. | ||
# + Most spaces before terminal punc removed. | ||
# + Support for python 2 has been dropped | ||
# + Backend NLP engine `pattern.en` has been replaced with `spaCy` | ||
# + Support for custom dictionaries in `replace_from_dictionary` | ||
# + Option for suffix to be used instead of prefix in `replace_from_dictionary` | ||
# + URL replacement can now remove emails | ||
# + `token_replacement` can remove symbols | ||
|
||
# 1.2.3 Fixed the version for mysqlclient to help windows installs. | ||
# Version tracking started in 1.2.3 (add to the top) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.