These end in -té too, but they are masculine.
Sa femme a pris un travail par nécessité.
His wife has started to work out of necessity.
De la nécessité, on doit faire une vertu.
One must make a virtue of necessity.
Déplacer le mobilier a nécessité beaucoup d'énergie.
It took a lot of energy to move the furniture.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.