Answer
Sufism and Western philosophy were the two major philosophical influences that Naim Frashëri incorporated into his poems. Sufism, an Islamic mystical tradition, provided Frashëri with a framework for exploring spiritual themes, while Western philosophy exposed him to ideas such as humanism and rationalism.