Skip to content

Commit

Permalink
Merge pull request #36 from dataiku/chore/dss12-sc-132126-nlp-analysi…
Browse files Browse the repository at this point in the history
…s-aiml-necessary-update

Add support for python v3.8 to v3.10
  • Loading branch information
AgatheG authored Apr 27, 2023
2 parents a17eb0e + 3ca15c4 commit 9fd7c27
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [Version 0.2.0](https://github.com/dataiku/dss-plugin-nlp-analysis/releases/tag/v0.2.0)
- Add support for python v3.8 to v3.10

## [Version 0.1.1](https://github.com/dataiku/dss-plugin-nlp-analysis/releases/tag/v0.1.1)
- Fix sudachipy version not being compatible with python 3.6 anymore

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2021 Dataiku
Copyright 2023 Dataiku

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
7 changes: 5 additions & 2 deletions code-env/python/desc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"acceptedPythonInterpreters": [
"PYTHON36",
"PYTHON37"
"PYTHON37",
"PYTHON38",
"PYTHON39",
"PYTHON310"
],
"forceConda": false,
"installCorePackages": true,
"installJupyterSupport": true,
"corePackagesSet": "PANDAS10"
"corePackagesSet": "AUTO"
}
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "nlp-analysis",
"version": "0.1.1",
"version": "0.2.0",
"meta": {
"label": "Text Analysis",
"category": "Natural Language Processing",
Expand Down
1 change: 0 additions & 1 deletion python-lib/nlp/spacy_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
SPACY_LANGUAGE_MODELS_MORPHOLOGIZER,
)
from utils.cleaning_utils import generate_unique, truncate_text_list
from utils.cleaning_utils import truncate_text_list

# Setting custom spaCy token extensions to allow for easier filtering in downstream tasks
Token.set_extension("is_hashtag", getter=lambda token: token.text[0] == "#", force=True)
Expand Down

0 comments on commit 9fd7c27

Please sign in to comment.