0

I want to split strings in a tensor into parts separated by punctuation or whitespace (sometimes there are multiple consecutive whitespace characters). I've tried t = tf.strings.split(t, sep = "\W-_.,") but it doesn't work the way I want. How to do it properly?

Brzoskwinia
  • 371
  • 2
  • 11

0 Answers0