Skip to content

Speaking Style ​

Speaking style analysis reads only the messages you sent and covers 179 style features in ten categories. The result is shown on the Style page (#/style) of the web UI and will also drive the agent clone.

Run ​

Install the speaking style dependencies, then choose the clone purpose:

bash
weclone-cli build-profile --purpose clone

Style extraction is the last stage of build-profile. It writes to the run's style/ directory, which the Style page reads.

What is analyzed ​

CategoryExamples
Lexical choiceFrequent words, modal particles, catchphrases, internet slang, abbreviations
Grammatical and syntactic styleSentence length, part-of-speech mix, intensifiers
Orthographic and paralinguistic stylePunctuation, repeated punctuation, no punctuation at all
RegisterWritten versus chat language, how online the language is
Pragmatic tone and stanceCertainty, politeness and pleasantries, softening a refusal
Affective styleShare of emotion words, intensity, venting
Rhetorical devicesMetaphor, exaggeration, irony, parallelism
Discourse organizationElaboration, cause, contrast
Interactional styleBursts of messages, follow-up questions, how topics grow and end
Contextual stylePrivate chats versus work groups, family versus friends, day versus late night

Some features are counted locally over all your messages. Others are judged by the model on sampled conversations, and the page says which.

The Style page ​

The page groups your most distinctive traits into typing habits, word choice, emotional expression and manner of speaking, with bubble size showing how often each appears. Only traits common enough are listed. Click a trait to see:

  • how often it appears, such as most of the time, often, sometimes or rarely
  • common ways you write it
  • how it differs with the people you chat with, with each person's numbers adjusted for message length

Run it on its own ​

With an existing result directory, extract the style again with:

bash
weclone-cli distill-style --input-dir <result-dir>/people
OptionDescription
--input-dirChat snapshot directory or a single file
--output-dirNew output directory, by default a new one under dataset/res_csv/agent/distill/style/
--ltp-modelLTP model directory, models/LTPbase by default
--window-daysOnly chats within this many days before the latest record, 365 by default, 0 for all
--llm-samplesConversations judged by the model, 2000 by default, 0 for all
--no-llmLocal statistics only, no model calls
--limitOnly the first N conversations, for a trial run