How to connect 7447 decoder to 7-segment display?
Each segment on a 7-segment display is designated a letter (A-G). This is standard and is shown in the SN7447 datasheet:



You can use a diode tester or a simple voltage source and a resistor to determine the pinout of your particular display. Then just map the pins correctly (again, from datasheet):