Finish porting article-map program from Python.