Text this: Dynamic weighing method for coal and gangue in coal-gangue sorting robots