The package is mostly in perl, althought we have added some extensions using C++ (using perlsx), mostly performance enhancements. With the extensions we are able to use over 100K documents.