Add inference function
Merge branch 'master' of https://github.com/daoudclarke/ldacomposition