Unveiling Intrinsic Dimension of Texts: from Academic Abstract to Creative Story