Occurrences
The SCI.Occurrences
children packages provide generic packages to
compute occurrence of items.
Array based items
To find occurence of strings, instantiate with:
package String_Occurrence is
new SCI.Occurrences.Arrays (Element_Type => Character,
Index_Type => Positive,
Array_Type => String,
Occurrence_Type => Natural);