Text this: Implementation of spectral partition in wave models(波浪数学模型中谱分割功能的应用)