store analysis data in weak hashmap to allow deallocation for unused terms