countTokens abstract method

Future<int> countTokens(
  1. String engineId,
  2. String text
)

Get the number of tokens in the given text.

Implementation

Future<int> countTokens(String engineId, String text);