Electronic corpora as a basis for the compilation of African-language dictionaries, part 1: the macrostructure