expectedArtifactWordCount method

int expectedArtifactWordCount(
  1. int soraId,
  2. int ayaId,
  3. int dbWordCount
)

Expected word count in the phoneme artifact given the database word count.

Implementation

int expectedArtifactWordCount(int soraId, int ayaId, int dbWordCount) {
  final key = artifactKey(soraId, ayaId);
  final exception = _exceptions[key];
  if (exception != null) {
    return exception.artifactWordCount;
  }
  return dbWordCount;
}