tokenize method

Future<List<int>> tokenize(
  1. String text
)

Implementation

Future<List<int>> tokenize(String text) async {
  if (_context == null) throw CactusException('CactusTTS not initialized');
  return await _context!.tokenize(text);
}