@opscogs/octools
    Preparing search index...

    Function countSentences

    • Count sentences as runs of ., ! or ? followed by space or the end.

      A heuristic: an abbreviation such as e.g. followed by a space counts as a sentence end, so write descriptions without them.

      Parameters

      • text: string

      Returns number