Skip to content

Commit

Permalink
fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mnmandahalf committed Sep 24, 2022
1 parent 9d3f004 commit 6b8e59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/interactors/analysis/get_translation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def call
private

def get_tokens_translation(tokens)
joind_tokens = tokens.map { |i| i[:stem] || :token }.join(',')
joind_tokens = tokens.map { |i| i[:stem] || i[:token] }.join(',')
result = get_translation(joind_tokens)
result.gsub('、', ',').split(',')
end
Expand Down

0 comments on commit 6b8e59f

Please sign in to comment.