Dissolve short segments to create ‘generalised’ path

I have line data representing path condition. It is broken into very short segments that represent a certain parameter (categorical data). I was hoping to create a “generalised” version where smaller segments below a certain length are dissolved into others and the longest sections remain to dominate a path. Any ideas on how to achieve this? I’m working in ArcGIS Pro. TIA

submitted by /u/Ski_nail
[link] [comments]