Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
lcg-bioinfoI-bionlp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2018-09-18 13:59:09 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8b9489f84f689e6430e15d83840d68618e0197aa
8b9489f8
1 parent
9c13b73d
Feature extraction and vectorizer three sentences
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
representaciones-vectoriales/extraccion-caracteristicas-vectorizacion.py
representaciones-vectoriales/extraccion-caracteristicas-vectorizacion.py
View file @
8b9489f
...
...
@@ -47,8 +47,8 @@ if __name__ == "__main__":
help
=
"Vectorizer: b=binary, f=frequency, t=tf-idf"
,
metavar
=
"CHAR"
,
choices
=
(
'b'
,
'f'
,
't'
),
default
=
'b'
)
parser
.
add_argument
(
"--feature"
,
dest
=
"feature"
,
required
=
True
,
help
=
"Feature: word, lemma, pos"
,
metavar
=
"TEXT"
,
choices
=
(
'word'
,
'lemma'
,
'pos'
,
'ner'
),
default
=
'
b
'
)
help
=
"Feature: word, lemma, pos
, ner
"
,
metavar
=
"TEXT"
,
choices
=
(
'word'
,
'lemma'
,
'pos'
,
'ner'
),
default
=
'
word
'
)
args
=
parser
.
parse_args
()
...
...
Please
register
or
login
to post a comment