It appears that this markitdown software can be used to convert arbitrary documents into marked up plaintext. If it can be integrated with the text analyzer, it would make it easier to import arbitrary samples of Japanese into renshuu.