← All SDKs

Arc family · tag

arc-tagger

A text-only streaming tagger. Give it words from any recogniser, or plain text, and it returns entities, numbers, PII, intent, safety flags and turn events as each word arrives.

AvailableCC BY-NC 4.0

In → out

In

  • Plain text
  • A live word stream from any recogniser, revisions included
  • A domain or industry config

Out

  • Spans: entities, numbers, PII, profanity
  • Per-word events: turn yield, interruption, command complete
  • Per-utterance intent, dialogue act, safety and affect
Shell
./build/arctag_cli --redact mask "Email me at jo@example.com or call 415 555 0199."

Three ways to run it

Hybrid

Recommended

Tag a cloud transcript on the device, so PII is masked before the text leaves, or tag on your server next to the recogniser. The same model files and output on both.

Available

Edge

A plain-C native backend with no dependencies, loading in under 200 ms: about 26 MB of memory with the 9.4 MB int8 model. Mac, Linux, Windows and Android.

Available

Cloud

arctag_server, a small JSON/HTTP server in the repo (/tag, /push, /poll), or POST /v1/tags in the combined arc-serve image built with arc-transcriber.

Available

As a container Available

Dockerfile.combined in arc_transcriber links the tagger into arc-serve: audio in, transcript plus tags out, and POST /v1/tags for text.

Quickstart

Build and run

Shell
git clone https://github.com/WhissleAI/arc-tagger-c && cd arc-tagger-c
./scripts/fetch_model.sh                       # -> ./model (no account or token needed)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
./build/arctag_cli "Hi, this is Maria Lopez. My number is 555 867 5309."
./build/arctag_cli --int8 -d meeting "Priya will send the final numbers by Friday."

C API

C
#include "arctag.h"
char err[256];
arctag_options o; arctag_options_init(&o);
o.precision = ARCTAG_INT8;
arctag_t *h = arctag_create_ex("model", &o, err, sizeof err);
char *json = arctag_tag_text(h, "Okay team, let's start. Priya sends the numbers Friday.");
arctag_free_str(json);
arctag_destroy(h);

Server

Shell
./build/arctag_server -c configs/contact_center.json --port 8090
curl -s localhost:8090/tag -d 'Can you call me back at 415 555 0199 tomorrow?'

Copied from the repository's README; the README is the reference.

More in the Arc family

  • arc-transcriberAvailableinference

    Streaming transcript with names, numbers, speakers, intents and sound events inline.

    16 kHz audio + your names → tagged JSON every 100 ms

Licence

Code and weights are CC BY-NC 4.0 plus the Whissle terms: free for research, evaluation and personal projects. Using it in a product, a hosted service or for business needs a commercial licence.

Talk to us about a commercial licence

Runs on

  • macOS
  • Linux
  • Windows (MSVC)
  • Android
  • Docker (combined arc-serve image)
arc-tagger SDK · Whissle