text-classifier

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Text Classifier

文本分类器

Overview

概述

A unified wrapper for
@agent/core/classifier
that consolidates previously separate skills (doc-type-classifier, domain-classifier).
这是
@agent/core/classifier
的统一封装器,整合了之前独立的技能(doc-type-classifier、domain-classifier)。

Arguments

参数

  • --input <path>
    : Path to the text file to classify.
  • --type <type>
    : Rule set to use (
    doc-type
    ,
    domain
    ,
    intent
    ). Default is
    doc-type
    .
  • --input <path>
    :待分类文本文件的路径。
  • --type <type>
    :要使用的规则集(
    doc-type
    domain
    intent
    ),默认值为
    doc-type