I discussed various ways to do it here:
How to count all unique character frequency in a string?
countmap
is an excellent choice, if you don’t mind the dependency on StatsBase
.
I discussed various ways to do it here:
How to count all unique character frequency in a string?
countmap
is an excellent choice, if you don’t mind the dependency on StatsBase
.