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:42:33 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bbeab153a927e7c94d9eb0a6c56a5297a76eea9e
bbeab153
1 parent
15de56cc
Prepare abstracts
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
prepare-abstracts.py
prepare-abstracts.py
View file @
bbeab15
...
...
@@ -74,6 +74,7 @@ if __name__ == "__main__":
line
=
reTags
.
sub
(
''
,
line
)
result
=
rePmid
.
match
(
line
)
if
result
:
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