Guest User

Untitled

a guest
Sep 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. SOURCE=$1
  4. TARGET=eng
  5. IN=$2
  6. OUT=$3
  7.  
  8. while read -r col1 rest; do
  9. printf '%s\t%s\n' "$col1" "$(indictrans -s $SOURCE -t $TARGET --ml --build-lookup <<<"$rest")"
  10. done < $IN > $OUT
Add Comment
Please, Sign In to add comment