Samosir is the library used to develop plugin modules for the Toba personal information retrieval application. It lets developers easily write modules that add functionality from within Toba and integrate with the internal database and search engine.