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 20:06:57 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53a2b7fc71f9d65877944fa9ede057cfe2d2da99
53a2b7fc
1 parent
17fdfc36
New terminological tagging for CRFs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
biologicalTermTagging-CRF.py
biologicalTermTagging-CRF.py
View file @
53a2b7f
...
...
@@ -146,7 +146,7 @@ if __name__ == "__main__":
print
(
"repetitions: {}"
.
format
(
repetitions
))
for
i
in
range
(
1
,
repetitions
):
wordOrig
=
word
.
replace
(
'-'
,
' '
,
1
)
#
print("Word: {}".format(word))
print
(
"Word: {}"
.
format
(
word
))
if
wordOrig
in
hashTermsOrig
[
termTag
]:
print
(
"WordOrig: {}"
.
format
(
wordOrig
))
found
=
True
...
...
Please
register
or
login
to post a comment