Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
conditional-random-fields
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 23:46:46 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
919edf2effdb8531b40059c48c17c76a18c72e9f
919edf2e
1 parent
c7e9d81b
Prepare abstracts
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
prepare-abstracts.py
prepare-abstracts.py
View file @
919edf2
...
...
@@ -74,7 +74,7 @@ if __name__ == "__main__":
line
=
reTags
.
sub
(
''
,
line
)
result
=
rePmid
.
match
(
line
)
if
result
:
line
=
rePmid
.
sub
(
line
,
''
)
line
=
rePmid
.
sub
(
''
,
line
)
with
open
(
os
.
path
.
join
(
options
.
outputPath
,
result
.
group
(
1
)
+
".txt"
),
"w"
,
encoding
=
"utf-8"
,
errors
=
"replace"
)
as
oFile
:
oFile
.
write
(
line
)
else
:
...
...
Please
register
or
login
to post a comment