Add function to build two article keyword dictionaries