Seeded K-Means Regardless that it works by using BIP32 system you could nonetheless import BIP39 seeds into Electrum wallet. Also other than BIp32 There's BIP44 Variation which some wallet use for the generation of seeds. You could see the total source code in standalone, offline html file. Alternatively you can https://bookmarksystem.com/story18534238/bip39-electrum-considerations-to-know-about-seed-phrase-generator