Modified the parser to incorporate contribution from a prior on the logical form (semantic prior). The prior I'm currently using is defined in tree_semantics_hdp.h.
Modified the parser to incorporate contribution from a prior on the logical form (semantic prior). The prior I'm currently using is defined in tree_semantics_hdp.h.

Also changed variable_free.cpp to perform parsing in parallel, which required making the parser and tree_semantics thread-safe. For example, I changed reference_count in tree_semantics to be an atomic_uint, which I'm not sure is the best way to make it thread-safe, since only the global tree_semantics
variables will run into thread-safety issues. There may have been a hit on performance.

asaparov/hdp