Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
nlp-preprocessing-pipeline
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-03-07 17:46:20 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d042bae170e08a6f60f1ab6c1c65a8f4c23fdc28
d042bae1
1 parent
ef323801
New terminological tagging for CRFs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
biologicalTermTagging-CRF.py
biologicalTermTagging-CRF.py
View file @
d042bae
...
...
@@ -131,6 +131,7 @@ if __name__ == "__main__":
pos
=
listLine1
[
1
]
listLine2
=
listLine1
[
2
]
.
split
(
' '
)
lemma
=
listLine2
[
0
]
print
(
"Word: {}"
.
format
(
word
))
if
len
(
word
)
>
1
:
for
termTag
in
hashTerms
:
if
word
in
hashTerms
[
termTag
]:
...
...
Please
register
or
login
to post a comment