There is no default USB port, and the IR port is nigh useless. Unless you create a software-based keyboard, then creating a hardware keyboard is impossible.
For the record, the Pokémon Typing DS game uses a Bluetooth adapter that's built into the game card itself, so that's not an option either.