Text this: Measurements of the groomed jet radius and momentum splitting fraction with the soft drop and dynamical grooming algorithms in pp collisions at s $$ \sqrt{s} $$ = 5.02 TeV