This plant from the Iridaceae Family is known to me as Neomarica longifolia (common name: Yellow Walking Iris, Apostle Plant, Martinique Trimezia). In recent times, I was told it has another synonym Trimezia martinicensis.
This highly adaptable plant can grow in a wide range of soils in a wide spectrum of light. It can take wet soils and shaded sites although it does best in semi-shade conditions.