Text this: Dimensional analysis and implicit function: An application to textual data