Showing
3 changed files
with
5 additions
and
5 deletions
| ... | @@ -242,7 +242,7 @@ if __name__ == "__main__": | ... | @@ -242,7 +242,7 @@ if __name__ == "__main__": |
| 242 | #print( DF(sentencesOutputDataI) ) | 242 | #print( DF(sentencesOutputDataI) ) |
| 243 | #print( '\n'.join(sentencesOutputDataII) ) | 243 | #print( '\n'.join(sentencesOutputDataII) ) |
| 244 | # Save tags | 244 | # Save tags |
| 245 | - with open(os.path.join(options.outputPath, options.outFileII + '_' + options.modelName + '.txt'), "w") as oFile: | 245 | + with open(os.path.join(options.outputPath, options.outFileII + '_' + options.modelName + '.tsv'), "w") as oFile: |
| 246 | for line in sentencesOutputDataII: | 246 | for line in sentencesOutputDataII: |
| 247 | #print(line) | 247 | #print(line) |
| 248 | oFile.write(line + '\n') | 248 | oFile.write(line + '\n') | ... | ... |
| ... | @@ -17,16 +17,16 @@ | ... | @@ -17,16 +17,16 @@ |
| 17 | Filtering symbols ['.', ',', ':', ';', '?', '!', "'", '"', '<', '>', '(', ')', '-', '_', '/', '\\', '¿', '¡', '+', '{', '}', '[', ']', '*', '%', '$', '#', '&', '°', '`', '...']: False | 17 | Filtering symbols ['.', ',', ':', ';', '?', '!', "'", '"', '<', '>', '(', ')', '-', '_', '/', '\\', '¿', '¡', '+', '{', '}', '[', ']', '*', '%', '$', '#', '&', '°', '`', '...']: False |
| 18 | -------------------------------- PROCESSING -------------------------------- | 18 | -------------------------------- PROCESSING -------------------------------- |
| 19 | Reading CRF model... | 19 | Reading CRF model... |
| 20 | -Reading CRF model done in: 0.009390s | 20 | +Reading CRF model done in: 0.009649s |
| 21 | Processing corpus... | 21 | Processing corpus... |
| 22 | Preprocessing file...annot-input_bg_v3.txt | 22 | Preprocessing file...annot-input_bg_v3.txt |
| 23 | Sentences input data: 14716 | 23 | Sentences input data: 14716 |
| 24 | Predicting tags with model | 24 | Predicting tags with model |
| 25 | -Prediction done in: 1.692121s | 25 | +Prediction done in: 1.757922s |
| 26 | Tagging file | 26 | Tagging file |
| 27 | Preprocessing file...annot-input_bg_v4.txt | 27 | Preprocessing file...annot-input_bg_v4.txt |
| 28 | Sentences input data: 90904 | 28 | Sentences input data: 90904 |
| 29 | Predicting tags with model | 29 | Predicting tags with model |
| 30 | -Prediction done in: 25.701133s | 30 | +Prediction done in: 26.068446s |
| 31 | Tagging file | 31 | Tagging file |
| 32 | -Processing corpus done in: 57.242562s | 32 | +Processing corpus done in: 58.020686s | ... | ... |
-
Please register or login to post a comment