Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
texta
texta-mlp-python
Commits
6bcc9962
Commit
6bcc9962
authored
Oct 15, 2021
by
Raul Sirel
Browse files
word features not in default analyzers
parent
f5c9f147
Pipeline
#6803
passed with stage
in 6 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
6bcc9962
1.14.
5
1.14.
6
tests/test_mlp.py
View file @
6bcc9962
...
...
@@ -46,8 +46,6 @@ def test_mlp_process(mlp: MLP):
assert
"lemmas"
in
mlp_text
assert
isinstance
(
mlp_text
[
"lemmas"
],
str
)
is
True
assert
"word_features"
in
mlp_text
assert
"language"
in
mlp_text
assert
isinstance
(
mlp_text
[
"language"
],
dict
)
is
True
...
...
texta_mlp/mlp.py
View file @
6bcc9962
...
...
@@ -64,7 +64,7 @@ SUPPORTED_ANALYZERS = (
DEFAULT_ANALYZERS
=
[
"lemmas"
,
"pos_tags"
,
"word_features"
,
#
"word_features",
"transliteration"
,
"ner"
,
"addresses"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment