Most computers have a line-in for Audio. You would simply need to use a cassette player with a line-out, and plug it into the line-in on your computer. Once connected to your computer, use Audio/Recording program to capture the sound.
Refer to the following link for more detailed information:
Converting audio cassette tapes to CD, MP# and other ditial formats