I have made a pull request, but there are some problems :
Travis build fails due to an assertion on varnamc_tests line 32. This means there is some problem with learn from file. When I used 'varnamc --learn-from <file>' it gave me an assertions error :