Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
search_tips
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
search_tips
Commits
367c9627
Commit
367c9627
authored
Aug 16, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
del logging
parent
b7bd4967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
wordresemble.py
trans2es/utils/wordresemble.py
+0
-5
No files found.
trans2es/utils/wordresemble.py
View file @
367c9627
...
...
@@ -76,8 +76,6 @@ class WordResemble(object):
try
:
total_count
=
0
instance
.
name
=
instance
.
keyword
logging
.
info
(
"get instancekeyword:
%
s"
%
instance
.
keyword
)
# 获取百科的
ItemWikiTransfer
.
get_wiki_data_name_mapping_results_to_redis
(
instance
)
...
...
@@ -92,12 +90,9 @@ class WordResemble(object):
# 获取该关键词的同义词的数据
query_sql_item
=
wordresemble
.
WordRelResemble
.
objects
.
filter
(
wordrel_id
=
instance
.
id
)
logging
.
info
(
"get query_sql_item:
%
s"
%
query_sql_item
)
if
query_sql_item
:
for
item
in
query_sql_item
:
instance
.
name
=
item
.
word
logging
.
info
(
"get instancename:
%
s"
%
instance
.
name
)
# 获取百科的
ItemWikiTransfer
.
get_wiki_data_name_mapping_results_to_redis
(
instance
)
...
...
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