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-08 01:52:53 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f612c3cc78484aaacce75237395f68e8c232a7c6
f612c3cc
1 parent
b7834a43
New terminological tagging for CRFs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
biologicalTermTagging-CRF.py
biologicalTermTagging-CRF.py
View file @
f612c3c
...
...
@@ -160,7 +160,7 @@ if __name__ == "__main__":
if
not
found
:
wordOrig
=
word
for
i
in
range
(
repetitions
,
0
,
-
1
):
wordOrig
=
wordOrig
.
replace
(
'-'
,
' '
,
1
)
wordOrig
=
wordOrig
.
replace
(
'-'
,
' '
,
i
)
print
(
"Word: {}"
.
format
(
wordOrig
))
if
wordOrig
in
hashTermsOrig
[
termTag
]:
print
(
"WordOrig: {}"
.
format
(
wordOrig
))
...
...
Please
register
or
login
to post a comment