Skip to content

Commit

Permalink
Update FusionIramuteq2.py
Browse files Browse the repository at this point in the history
file name should be improved and stabilized
  • Loading branch information
Patent2net committed Jan 13, 2021
1 parent 51c9a4c commit deb37c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Patent2Net/FusionIramuteq2.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@
else:
lstToRetreive = []
for fi in lstToRetreive:
contenuFic = ResultPathContent+ '//Abstract//'+fi
temporary1 = fi.split('-')[0] # lang code
temporary2 = fi.split('-')[1].split('.')[0] # PatentNumber
temporary3 = fi.split('-')[1].split('.')[1] # File extension
contenuFic = ResultPathContent+ '//Abstract//'+temporary1 + temporary2.upper() + temporary3
with codecs.open(contenuFic, 'r', 'utf8') as absFic:
data = absFic.readlines()
tempo = '**** *Type_Abstract'+ ' *'
Expand Down

0 comments on commit deb37c1

Please sign in to comment.