Text this: Investigating topological descriptor and Gibb’s energy for semiconducting carbon allotrope through advanced curve fitting model