Interface: TokenClassificationReturnValue

Properties

end

end: number

The offset stringwise where the answer is located. Useful to disambiguate if word occurs multiple times.

Defined in

HfInference.ts:253


entity\_group

entity_group: string

The type for the entity being recognized (model specific).

Defined in

HfInference.ts:257


score

score: number

How likely the entity was recognized.

Defined in

HfInference.ts:261


start

start: number

The offset stringwise where the answer is located. Useful to disambiguate if word occurs multiple times.

Defined in

HfInference.ts:265


word

word: string

The string that was captured

Defined in

HfInference.ts:269