integrate GraphBasedDisambiguator with DB-backed core
clean code