Huggingface.js documentation

Interface: TokenClassificationOutputValue

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: TokenClassificationOutputValue

Properties

end

end: number

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

Defined in

inference/src/tasks/nlp/tokenClassification.ts:33


entity _ group

entity_group: string

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

Defined in

inference/src/tasks/nlp/tokenClassification.ts:37


score

score: number

How likely the entity was recognized.

Defined in

inference/src/tasks/nlp/tokenClassification.ts:41


start

start: number

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

Defined in

inference/src/tasks/nlp/tokenClassification.ts:45


word

word: string

The string that was captured

Defined in

inference/src/tasks/nlp/tokenClassification.ts:49

< > Update on GitHub