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 18:16:14 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f972fd01bb0409fb2be03e7bdc687113811abc2e
f972fd01
1 parent
e425a3be
New terminological tagging for CRFs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
biologicalTermTagging-CRF.py
biologicalTermTagging-CRF.py
View file @
f972fd0
...
...
@@ -85,9 +85,11 @@ if __name__ == "__main__":
hashTermFiles
=
lists
[
"hashTermFiles"
]
hashTerms
=
lists
[
"hashTerms"
]
hashTermsOrig
=
lists
[
"hashTerms"
]
hashTermsOrig
=
{}
for
key
in
hashTermFiles
.
keys
():
if
key
not
in
hashTermsOrig
:
hashTermsOrig
[
key
]
=
[]
for
f
in
hashTermFiles
[
key
]:
# print('File: ' + f)
with
open
(
os
.
path
.
join
(
options
.
termPath
,
f
),
"r"
,
encoding
=
"utf-8"
,
errors
=
"replace"
)
as
iFile
:
...
...
Please
register
or
login
to post a comment