Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
H
Hindi-Telugu-IIITHMT-API-call
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Hindi-Telugu-IIITHMT-API-call
Commits
4828e323
Commit
4828e323
authored
May 18, 2021
by
Vandan Mujadia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
403c1b1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
get_translation_iiith_hindi_telugu.py
get_translation_iiith_hindi_telugu.py
+1
-1
get_translation_iiith_telugu_hindi.py
get_translation_iiith_telugu_hindi.py
+1
-1
No files found.
get_translation_iiith_hindi_telugu.py
View file @
4828e323
...
@@ -23,7 +23,7 @@ output_file = sys.argv[2]
...
@@ -23,7 +23,7 @@ output_file = sys.argv[2]
def
read_file
(
path
,
isref
=
False
):
def
read_file
(
path
,
isref
=
False
):
_data
=
[]
_data
=
[]
for
line
in
codecs
.
open
(
path
):
for
line
in
codecs
.
open
(
path
,
encoding
=
"utf8"
):
line
=
line
.
strip
()
line
=
line
.
strip
()
line
=
line
.
replace
(
'_'
,
''
).
replace
(
'`'
,
''
).
replace
(
'"'
,
''
).
replace
(
"'"
,
''
)
line
=
line
.
replace
(
'_'
,
''
).
replace
(
'`'
,
''
).
replace
(
'"'
,
''
).
replace
(
"'"
,
''
)
_data
.
append
(
line
)
_data
.
append
(
line
)
...
...
get_translation_iiith_telugu_hindi.py
View file @
4828e323
...
@@ -23,7 +23,7 @@ output_file = sys.argv[2]
...
@@ -23,7 +23,7 @@ output_file = sys.argv[2]
def
read_file
(
path
,
isref
=
False
):
def
read_file
(
path
,
isref
=
False
):
_data
=
[]
_data
=
[]
for
line
in
codecs
.
open
(
path
):
for
line
in
codecs
.
open
(
path
,
encoding
=
"utf8"
):
line
=
line
.
strip
()
line
=
line
.
strip
()
line
=
line
.
replace
(
'_'
,
''
).
replace
(
'`'
,
''
).
replace
(
'"'
,
''
).
replace
(
"'"
,
''
)
line
=
line
.
replace
(
'_'
,
''
).
replace
(
'`'
,
''
).
replace
(
'"'
,
''
).
replace
(
"'"
,
''
)
_data
.
append
(
line
)
_data
.
append
(
line
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment