Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit b4db3f5

Browse files
committedDec 16, 2021
Changed back
1 parent 67c3535 commit b4db3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lab_4/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def translate_sentence_to_plain_text(decoded_corpus: tuple) -> str:
204204
sentence.extend(word)
205205
if sentence[0] == '_':
206206
sentence[0] = ''
207-
elif sentence[-1] == '_':
207+
if sentence[-1] == '_':
208208
sentence[-1] = '.'
209209
decoded_sentence = ''.join(sentence)
210210
decoded_sentence = decoded_sentence.replace('__', ' ')

0 commit comments

Comments
 (0)
This repository has been archived.