Modeling the Construction of a Literary Archetype: The Case of the Detective Figure in French Literature
Paper · 2025 · Jean Barre, Olga Seminck, Antoine Bourgois et al.
Summary
A detective can dominate a novel by asking questions, listening to witnesses, or pursuing a suspect through a dangerous setting. Those activities produce very different stories, yet readers recognize the investigator in each. The authors ask whether the detective has a recognizable textual signature across French fiction and whether that signature can help trace the figure’s changing place in the novel. Their examples run from Gaboriau’s early detectives in 1866 to Commissaire Adamsberg in 2017. The category includes police officers, amateurs, journalists, and figures who can investigate a crime while being implicated in one.
The study begins by linking the names, pronouns, and other expressions that refer to each character across a novel, a task called coreference resolution. The authors then collect words describing what the character does, how the text depicts them, and what it associates with them through possessive phrases. They use manually labeled examples to train a classifier and compare simple word frequencies with contextual word embeddings, numerical representations that reflect how words are used in their surroundings. On the annotated Chapitres characters, the strongest combination achieves balanced accuracy of 0.923, a measure that gives detective and non-detective recall equal weight. The authors report similar performance when they hold out recurring characters, authors, or periods together.
Applied to prominent characters across the Chapitres Corpus, the classifier identifies 713 detective instances. The predicted share rises from around 1900 to nearly 6% of the sampled characters by the late 1930s, then falls to about 4% after 1940 before a modest revival in the 1980s. A separate measure shows an upward trend in how often detectives are mentioned relative to other characters in their novels. Together, these results describe a figure who becomes more visible within individual books even as the detective’s prevalence across the corpus fluctuates.
The authors also find several ways of being a detective within that shared category. Vocabulary associated with investigation, such as questioning and observing, helps distinguish detectives overall. Among the predicted detectives, an early group is especially associated with questioning and dialogue, while a group exemplified by Maigret brings intuition and attention to ordinary life into view. A more recent group includes detectives who are physically involved in the action and whose investigations unfold amid social violence and moral ambiguity. The authors interpret these patterns alongside passages from the novels. The broad historical picture is of a figure who grows more prominent and remains recognizable as the stories told about investigation change.
Deep dive: Modeling the Construction of a Literary Archetype: The Case of the Detective Figure in French Literature
A study of how detectives became central to French crime fiction and how their portrayal changed while remaining recognizable across 150 years. · about 33 minutes to read
The problem and its context
What makes an investigator recognizable?
In the classic detective puzzle, the investigation gives readers a route through events that have already taken place. A crime has occurred, and the book gradually discloses the conditions under which it happened. The detective questions people, examines signs, and proposes explanations. Readers can follow the same evidence and attempt the reconstruction themselves. In the account of the whodunit that the paper draws from Todorov, the concealed events of the crime and the visible progress of the investigation make up distinct strands of the narrative. The detective connects them by turning scattered details into an account of what happened.
That structure explains why literary critics care about the investigator’s reasoning and about how the book distributes attention. The detective can enter a story as a supporting figure whose work helps bring an existing drama to a conclusion. As the investigation becomes a sustained source of suspense, the detective’s choices can determine which witnesses readers encounter, which details they notice, and which explanations they entertain. The authors examine the historical movement towards that more prominent role. To study it across a collection of novels, they first need a way to recognize investigators whose work and standing differ widely.
An occupation would provide too narrow a definition. Gaboriau’s Père Tabaret and Doyle’s Sherlock Holmes exemplify the detective’s analytical ingenuity while working outside the role of a professional police detective. Rouletabille investigates as a journalist. Arsène Lupin complicates the category from another direction, since criminal and investigative roles can belong to the same person. The characters who investigate Lupin, including Ganimard and Beautrelet, bring still other versions of the role into those stories. The archetype in this study is a recognizable family of portrayals. Any individual character can carry some of its traits, and a book can put several versions of investigation into play.
The classical version supplies the clearest point of departure. In the critical tradition the authors describe, figures such as Dupin, Holmes, and Rouletabille are distinguished by the intellectual work they perform. Their readings of clues produce the crucial advances in a story. Much of the reader’s interest lies in following the reasoning and anticipating the solution. The same concept of the detective also has to accommodate an investigator who works by intuition, one who attends to people’s feelings and routines, and one who personally confronts the violence being investigated. The paper asks how much continuity in characterization can be found across those changes.
How the French tradition supplies the case
The authors situate French detective fiction within an exchange with English and American writing. The lineage they describe runs from Poe’s Dupin to Gaboriau’s Lecoq and from Lecoq to Conan Doyle’s Holmes. They also discuss writers and figures who preceded the genre in its established form. Edmond Dantès, Rodolphe, and Rocambole illustrate literary precedents. Vidocq, who had been a criminal before becoming a police chief and founding a detective agency, provides a connection with a historical investigator. The paper presents these antecedents as part of the formation of the archetype.
Poe’s Dupin stories gave the investigation a form in which reasoning and the use of scientific tools could organize a short narrative. In the French tradition, Gaboriau adapted that form to the novel. This change in scale matters to the paper’s question. A story can sustain interest through the inquiry itself, with the gradual elimination of possibilities and the reconstruction of events supplying its momentum. An investigator who repeatedly initiates those advances has a different function from a character who appears chiefly to supply a solution.
Later French writing developed the figure through recurring characters such as Leroux’s Rouletabille, Leblanc’s Lupin, and Simenon’s Maigret. The paper treats this variation as part of the history to be explained. The emergence of the investigator as a leading figure opens room for the novel to explore their habits, judgment, and relation to their surroundings. The classical tradition, the more empathetic investigation associated with Maigret, and the hardboiled traditions discussed by the authors offer different ways to use that room. The scope of the study is French fiction, where those developments and exchanges can be followed within the same corpus.
What earlier computational work made possible
The authors place the study within distant reading, an approach that examines literary patterns across collections large enough to include works beyond a familiar canon. A scholar can still examine individual passages closely. The larger collection changes the basis for deciding whether something observed in a passage, a famous book, or a series recurs elsewhere. The distinction is important here because a memorable character can shape a critical account of the detective without representing the full range of the role in French fiction.
Earlier research had already shown how a collection of novels could be studied at the level of characters. The work on literary character types by Bamman and colleagues inferred recurring personas from linguistic evidence in English novels. Its features came from material such as descriptions, actions, and dialogue associated with individual figures. That work established a precedent for asking which patterns belong to a recurring persona when each book supplies different names, episodes, and circumstances. Bamman and colleagues’ study of literary character types
Literary text processing also made it possible to gather evidence about a character across a book. The paper describes BookNLP for English and related systems for French, German, and Dutch. The underlying difficulty is easy to see in a novel with a large cast. A name can be shortened, a person can be addressed by a title, and a scene can continue for some time with pronouns supplying most of the references. Gathering what the text says about an investigator requires connecting those expressions. Literary coreference annotation provides examples of how such connections can be recorded systematically. Bamman and colleagues’ English literary coreference dataset
According to the paper, researchers had used this broader approach to study gender representation and the structure of plots. The detective study brings a different target to the same general practice. It starts with a category defined through literary criticism and annotated examples, then asks whether patterns in a character’s language and actions support recognition on held-out texts. Once the authors have a way to do that, they can ask where investigators occur, how much attention they receive, and how their portrayal varies. Each question calls for a different use of the character evidence.
The method, step by step
From the novel to a character profile
The authors start with the Chapitres Corpus, a collection of almost 3,000 French fictional texts that includes many works of detective fiction. The unit they want to classify is a character as represented in a particular work. That choice matters when a recurring investigator has a new case in a new novel. Each appearance can supply a separate profile, built from the language of that book. The annotations also identify recurring figures across works so that these appearances can be kept together in a test.
The first task is to find the expressions that refer to a character and join them into a coreference chain. A chain is a collection of mentions interpreted as referring to the same person. A surname, a professional title, and a pronoun can therefore contribute to the same chain. The authors use Propp-fr, an extension of BookNLP-fr designed to help link mentions over the length of a novel, including works of over 100k tokens. The paper cites research on this full-length French fiction task. Bourgois and Poibeau’s study of coreference in full-length French fiction
The chain gives the authors a way to pool evidence about the person from different scenes. From the linguistic analysis associated with it they extract verbs for actions the character performs or undergoes, modifiers that characterize the person, and nouns in possessive constructions. An action verb can supply evidence about the character acting as an investigator. A description contributes a different sort of evidence, and a possessive phrase can associate the person with family members, clothing, or objects used in the course of the story. The possessive category is grammatical. It can include a relationship such as someone’s mother as readily as a physical object.
This procedure turns the character into a set of attributes whose source is identifiable in the text. It also sets the scope of the representation. An event can matter to the investigation while supplying little evidence if its description is attached to another character or falls outside the selected grammatical relations. Conversely, an ordinary action can become informative if it occurs disproportionately in portrayals of investigators. The classifier learns from the accumulated profile across the work, where repeated signals can matter more than an isolated word.
From novel text to detective profiles and historical patterns
The steps in order.
How the authors chose examples
The hand-labeled detective examples were selected to represent several branches of the tradition. A journalist such as Rouletabille gives the classifier evidence of investigation outside the police. An investigator who is also a criminal, such as Larsan, broadens the category in a different direction. The examples also include professional investigators such as Lecoq and Maigret and figures associated with French adaptations of hardboiled fiction, including Nestor Burma and Gabriel Lecouvreur. The selection deliberately gives recurring, influential investigators a place in the labeled set.
The positive annotations cover 185 detective appearances across 156 novels and represent 47 distinct figures. The distinction between appearances and figures is essential for understanding the later tests. Separate books give the classifier separate profiles for a recurring character. If those profiles are distributed freely between training and testing, the test can reward recognition of the detective’s recurring habits or the author’s characteristic way of describing them. Grouping by identity tests whether the approach applies to investigators whose labeled appearances were all withheld from training.
For negative examples, the authors randomly select 419 characters from Chapitres with sampling stratified by time. Stratification here means that the selection is arranged to represent different periods. The aim is to expose the classifier to varied narrative roles and to vocabulary from different stages of the corpus. The annotated material includes characters from the mid-19th century before the detective novel took shape in the form examined in the paper. That provides examples of other figures written in a period close to the genre’s emergence.
Each labeled instance receives a binary judgment, detective or non-detective. This makes the training target clear enough for a direct comparison of representations. It also means an unconventional investigator such as Lupin and an institutionally recognized detective can have the same target label. The classifier has to learn evidence that supports this shared judgment from examples whose profession, methods, and place in the story can differ. The authors make their data and code available in the DETECTIVES repository.
How words become a numerical representation
The first representation is bag of words. Starting from the character attributes identified in the texts, the authors select the 1,000 most frequent words. Each of those words gets a position in the representation. The value in that position is the word’s relative frequency among the character’s attributes. In a profile with frequent questioning verbs or frequent nouns connected with clothing, those patterns appear as values attached to the corresponding vocabulary entries.
This representation gives the classifier direct access to the identity and frequency of common words. The same feature always stands for the same vocabulary item, regardless of the book or the passage. Separate entries can represent closely related actions, and the classifier has to learn from the labeled examples how much weight to give each. The sequence of the words and their local sentence context are absent from the vector. That makes the baseline a way to ask how far recurring attribute vocabulary alone can take the task.
The contextual approach represents each extracted attribute through its occurrence in the text. The authors use the large CamemBERT encoder to obtain a vector for each occurrence. An encoder gives a word in a passage a numerical representation informed by its surroundings. A verb can therefore contribute differently in different uses, even when its spelling is the same. This extra information is pertinent to a study in which an ordinary action can take on an investigative function in one scene and perform a different narrative job in another. CamemBERT
The authors average those attribute vectors coordinate by coordinate. In practical terms, they pool each numerical component across all of the retained attributes associated with the character. The result is a dense profile with 1,024 dimensions, one value for each component of the encoder’s vectors. Each occurrence contributes to that average, so repeated kinds of action or description can influence the resulting profile. The averaging also gives the subsequent classifier an input of fixed size regardless of how often the character is mentioned.
The contextual representation retains words for actions the character performs, descriptive modifiers, and possessive nouns. The authors omit verbs for actions directed at the character, referring to those as passive verbs in their description of the features. They report that these verbs were sparse and contributed little to discrimination in preliminary experiments. A profile thus gives particular attention to what the character does, together with how they are described and what is associated with them. The contextual vector preserves some information about individual usages, while the average pools those usages without preserving the order of scenes.
How the label is predicted and tested
The authors feed the precomputed profiles and manual annotations into logistic regression and support vector machines, abbreviated SVM. Logistic regression uses a weighted combination of features to score membership in a class. An SVM learns a boundary between classes with attention to the examples that lie near the separation. In this study both approaches receive character profiles. The output is the predicted investigative role of the character instance, and the manual label supplies the reference for evaluation.
The ordinary evaluation uses stratified 5-fold cross-validation. The annotated examples are divided into folds that preserve the relative representation of detectives and non-detectives. Each fold serves in turn as the held-out portion, while the others supply examples for fitting the classifier. A fold is a subset used for one round of fitting and evaluation. Stratification keeps each test portion reasonably comparable in class composition. It addresses the uneven number of detective and non-detective examples while leaving the arrangement of identities, authors, and periods to separate tests.
The authors also evaluate with Leave-One-Group-Out, or LOGO, validation. They define groups in three ways. The character grouping puts all appearances of the same person in the same group. The author grouping keeps characters from an author’s books together. The historical grouping collects characters according to the period from which they come. In each case the designated group is held out as a unit. A successful prediction in the character test is made without the training examples for that figure. A successful prediction in the author test is made without the labeled profiles drawn from that author’s work. The temporal checks repeat the grouping exercise over 10-, 20-, and 50-year intervals.
The primary measure is balanced accuracy, which averages the recall of the detective and non-detective classes. Detective recall is the share of annotated detectives recovered by the classifier. Non-detective recall is the share of annotated non-detectives correctly assigned to their own class. Giving those shares equal weight matters because the negative annotations are more numerous. The authors also report precision and F1 by class. Detective precision asks how often an assignment to the detective class is correct in the annotated evaluation. Detective F1 combines that precision with detective recall, so overlooking real investigators and incorrectly assigning the role both affect the result. The same definitions apply when the non-detective class is treated as the class of interest.
How the authors interpret the predictions
After choosing the contextual representation with an SVM, the authors apply it to characters throughout Chapitres. For each novel they retain the ten characters with the most mentions. Ranking by mentions focuses the corpus analysis on characters with relatively visible textual presences. The historical series then tracks the share of these prominent character instances assigned to the detective class.
The authors measure prominence separately within the novel. Their mention-ratio compares the length of a character’s coreference chain with the average chain length in the book. A character whose references recur often relative to the book’s usual chain has a higher ratio. The study uses a quadratic curve to describe the historical trend in this measure for detectives. The relevant comparison is within each book before the ratios are considered over time. That gives the analysis a way to relate a character’s visibility to the scale of the surrounding cast and its mentions.
To find words characteristic of a group, the authors compare attribute counts, adjusting for the fact that the groups can supply very different amounts of text evidence. A word can appear more frequently in the larger group and still be relatively more characteristic of the smaller one. The paper uses a smoothed log-odds score with a standard-error adjustment, following the approach to lexical comparison that it attributes to Monroe and colleagues. This is the score as written for detectives and non-detectives.
zₐₜₜᵣ = log(((c₁ + p/n)/(n₁ + 1)) / ((c₂ + p/n)/(n₂ + 1))) / √(1/(c₁ + p/n) + 1/(c₂ + p/n))
Here zₐₜₜᵣ is the distinctiveness score for the attribute being examined. The subscripts ₁ and ₂ refer to the detective and non-detective groups, respectively. For the selected word, c₁ counts its occurrences as an attribute of detectives and c₂ counts its occurrences as an attribute of non-detectives. The symbol p gives the word’s pooled count, the sum of c₁ and c₂. The symbol n₁ gives the sum of attribute counts across the vocabulary in the detective group. The corresponding sum in the non-detective group is n₂. The symbol n gives the pooled total of n₁ and n₂.
The fractions marked by / express division, and + adds counts or smoothing terms. The quantity p/n is the overall frequency of the selected attribute in the pooled evidence. Adding it to each group’s word count implements the smoothing shown in the paper. The literal 1 added to each group total supplies the corresponding adjustment to the total. Inside log, the smoothed group fractions are divided by one another, and log takes the logarithm of that comparison. The square-root sign introduces the standard-error estimate in the denominator. It combines the reciprocals of the smoothed counts, giving small counts a larger uncertainty term. Positive scores favor the detective group in this comparison.
The paper presents the attribute rankings on a normalized scale of [-1, 1]. The endpoint +1 marks the strongest detective association and -1 marks the opposite end of the comparison. The authors examine agentive verbs, modifiers, and possessive nouns as separate kinds of evidence. A verb can reveal how detectives are depicted acting, while a noun in a possessive phrase can indicate what people or objects tend to be associated with them. These scores come from comparing group vocabularies after classification. They describe the predictions collectively and give the authors a way to examine what kinds of characters those predictions have brought together.
For the analysis within the detective class, the authors take the contextual vectors of the 713 predicted detectives and project them into two dimensions. They use UMAP, a method for laying out high-dimensional points so that nearby profiles can be examined visually, with n_neighbors=10. They see three broad groupings in the projection and proceed with K-means configured to find three clusters. K-means assigns points according to their proximity to cluster centers. Publication dates give the authors a way to interpret the resulting distribution. The input they describe for the projection consists of character embeddings. UMAP
The authors reuse the lexical distinctiveness method to characterize those clusters, keeping attributes with positive scores above 0. They then look for those terms in their passages. A ranked word can suggest a pattern, but the passage shows what the character is doing at the moment the word occurs. This is how the study moves from finding a group of similar profiles to proposing a literary interpretation of each group.
Experiments and results
Recognition on the annotated characters
The main quantitative comparison asks how well the classifier assigns the manual detective and non-detective labels in the stratified evaluation. Bag-of-words logistic regression supplies the starting point, with balanced accuracy of 0.836 and detective F1 of 0.75. This result establishes that the frequencies of common character attributes carry information about the role. It also shows the importance of checking how well the detective class is handled specifically. Balanced accuracy summarizes both classes, while detective F1 describes the reliability and coverage of assignments to the class that the subsequent historical study will count.
Switching to an SVM with bag-of-words inputs raises balanced accuracy to 0.895. The authors report improvements in precision and recall for both classes in this comparison. With contextual attributes and logistic regression, balanced accuracy reaches 0.906, and detective recall is 0.919. This result is especially relevant to the corpus application because low detective recall would leave a substantial share of labeled investigators outside the pool selected for literary analysis. Here the reported recall shows strong recovery of the labeled detectives under this validation setup.
The highest balanced accuracy, 0.923, comes from combining contextual CamemBERT vectors with an SVM. Detective F1 reaches 0.887 in that setting. The paper describes its non-detective precision and F1 as near or above 0.94. The authors select this configuration for the historical analyses. As a result, each novel’s contribution to those analyses depends on the decisions of the same classifier.
Balanced accuracy by representation and classifier on annotated Chapitres characters
The contextual representation with an SVM leads the stratified comparison.
The numbers
| System or setting | Balanced accuracy |
|---|---|
| Bag of words with logistic regression | 0.836 |
| Bag of words with SVM | 0.895 |
| CamemBERT with logistic regression | 0.906 |
| CamemBERT with SVM (this paper) | 0.923 |
These are comparisons among supervised settings on the manually labeled characters. The experiment measures whether the input representation and classifier can recover judgments like those used to construct the annotation. The ensemble of literary questions comes later. For example, a setting can recover manually labeled investigators accurately while still returning a corpus-wide collection whose composition deserves qualitative inspection. That is why the paper follows the benchmark with tests across holdout groups and with readings of the output.
The detective’s prevalence and prominence
For the emergence analysis, the authors report that the per-novel restriction to the ten most frequently mentioned characters yields 29,610 character instances. The classifier marks 713 as detectives. These are instance-level predictions. Recurring investigators can contribute an appearance in each of several books, as they can in the labeled data. The resulting series tracks how frequently detective roles appear among the selected characters in the corpus, with coverage determined by which works are present and which characters enter the mention-ranked sample.
The authors place the early appearance of predicted detectives around 1860. They describe a sharp rise starting around 1900, with detectives projected to account for just under 6% of the characters sampled by the late 1930s. After 1940, the share dips to about 4%, and the 1980s bring a modest revival. The trajectory therefore includes a period of rapid establishment and later changes in relative frequency. Each of those percentages refers to the share of selected character instances that receive the detective label in the corpus over time.
The mention-ratio tells a different part of the story. According to the authors, the relative frequency of mentions of detectives trended upward from the middle of the 19th century through the end of the corpus. They identify an early change in the trend around 1900. The quadratic fit summarizes an increasingly visible investigator as the genre develops. The upward pattern extends through the diversification that the paper discusses between 1950 and 2000. A period can therefore feature detectives who receive substantial attention within their novels while showing a smaller share of detectives among the prominent characters across all sampled fiction.
This difference between frequency across the collection and attention within a book helps explain the paper’s account of the detective becoming central. A rise in the corpus share tells us about the spread of the role in the chosen set of works. A rise in the mention-ratio tells us that investigators occupy more of the verbal attention represented by character mentions in their books. Read with the literary history, the latter supports the idea that increasingly sustained attention to investigators accompanies the shift towards plots organized around their inquiries. The authors use the trend to connect their corpus analysis to the critical account of the investigator becoming the figure through whom a mystery unfolds.
What distinguishes predicted detectives
The lexical comparison asks which observable attributes characterize the detective side of the classifier’s output. In the section reporting this comparison, the authors state that they detected 713 detectives and 29,152 non-detectives across Chapitres. The emergence analysis also gives 713 predicted detectives and states its own sample total of 29,610. The paper leaves the relation between the reported lexical-comparison counts and the emergence sample unresolved.
Among the action verbs, the findings emphasize attending to clues, making discoveries, and eliciting information. The English glosses reported in the discussion include observe, question, discover, and note. Those activities give concrete content to the idea of an investigative signature. A reader can make sense of their joint prominence even when individual detectives use very different procedures. Actions connected with emotional expression or desire, such as crying, suffering, and loving, are reported as less distinctive of the predicted detectives. The paper reads this pattern as evidence that the corpus portrays the detective’s conduct with an emphasis on inquiry and reserve.
The possessive vocabulary provides evidence about what accompanies the investigator in the text. The paper highlights pockets, overcoats, watches, and revolvers. These objects can belong to ordinary people as well, and their value in the analysis comes from their association with the group as a whole. Kinship words such as mother, father, and daughter are less characteristic in this comparison. The authors interpret the distribution as part of the familiar portrayal of an investigator who is often seen at work and whose tools and clothing receive more distinctive attention than family ties.
Modifiers add another dimension to the portrait. Terms associated with femininity or physical attractiveness, including the items glossed as woman, pretty, and handsome, receive strongly negative scores in the discussion. The pattern is evidence about which descriptions are relatively characteristic of the predicted groups. The authors see it as part of the historical coding of the detective role. The different feature categories together yield a portrait grounded in the character’s activity and practical surroundings, with less lexical emphasis on intimate relationships and appearance.
How investigators differ within the predicted class
The projected character profiles show an association between the clusters and publication period. The authors interpret the groups through the vocabulary that distinguishes them and through their encounters with that vocabulary in individual novels. The resulting portraits address a question the binary test leaves open. A classifier can recognize figures as detectives on the strength of shared features, while the language of those figures still differs in systematically interpretable ways.
Cluster A is associated with the classical investigator of late nineteenth- and early twentieth-century fiction, including the tradition represented by Gaboriau, Leroux, and Leblanc. Questioning helps characterize the group. A concentration of ordinary verbs for speech and response is especially telling in combination with it. Saying, answering, declaring, and replying situate these detectives amid verbal exchanges. The paper interprets that activity as part of their investigative work. They extract information and turn what people say into material for reconstructing events.
The dialogue result gives a more specific picture of the classical detective than the general description of a gifted reasoner. Deduction can happen in a character’s thoughts, yet it becomes publicly legible through scenes in which someone is questioned, an account is challenged, or an explanation is voiced. The group’s vocabulary points to a detective whose authority is enacted in interaction. That finding also fits the whodunit’s arrangement of evidence for the reader, who encounters an investigation through the exchanges the novel chooses to show.
Cluster B brings the figure’s reactions and intuitions into greater prominence. The authors connect the group to the French Golden Age, refer to the launch of the Masque collection in 1927, and use Maigret’s emergence in the 1930s as a literary touchstone. Among the distinguishing verbs are soupirer, to sigh, and supposer, to suppose. One passage discussed in the paper shows Maigret pausing with his pipe after a sigh. Another shows him forming a supposition about where people were taken, which the narration then confirms. Both examples come from novels dated 1932.
These small actions matter because they give readers access to the investigator’s experience of the case. A sigh belongs to the way he inhabits a scene. A supposition makes a provisional judgment available while the inquiry is still unfolding. In the critical interpretation the paper draws from Cawelti, Maigret’s success depends on intuition and persistence. The novel makes room for the detective’s perceptions, feelings, and observations of social life. The vocabulary of Cluster B supports that reading by drawing attention to ways of depicting an investigator in the process of registering and interpreting what surrounds him.
Cluster C is associated with the modern phase that the authors situate after 1945. The paper relates it to the French reception of American hardboiled fiction and to developments associated with the Série Noire and the néo-polar. It highlights detectives who are closely involved in physical action and who confront dangerous social settings, organized crime, or compromised authority. The authors read this development as expanding the kinds of conflict a detective novel can organize around its central figure.
The authors use examples from Pierre Lemaitre’s Alex, dated 2011, to give the modern cluster’s vocabulary a setting. One scene connects the vulgar verb foutre with a burst of anger by Commander Verhoeven. Another uses enfiler and croiser as Camille puts on his coat, leaves, and encounters another person. The verbs of putting something on and encountering someone are ordinary in isolation. Their appearance among the characteristic words directs attention to the investigator in motion through the scene. Examining the passages adds the pace, register, and interaction that the isolated words can only suggest.
The modern group also encompasses a broader period in which empathetic and intuitive forms of investigation continue. The authors use Adamsberg, who first appears in 1991, to illustrate that alternative modern development. His sensitivity to signs and reliance on intuition fit a line of characterization that extends beyond the hardboiled examples. The historical reading is therefore compatible with several portrayals coexisting in recent fiction. The cluster marks a broad area of change, while the examples show the diversity that remains within the period.
What the ablations show
The paper reports no formal ablation that removes each feature family under a common evaluation, and its evidence about what drives performance comes from configuration comparisons, grouped holdouts, and a preliminary decision about sparse verbs.
What the configuration comparisons isolate
The main comparison varies the numerical representation and the choice of classifier. Holding bag-of-words features fixed and switching from logistic regression to an SVM improves balanced accuracy. Holding the contextual representation fixed gives the same ordering in the reported evaluation. Both representations therefore provide evidence that the SVM configuration makes better use of these character profiles under the study’s setup. The tests report a result for the classification task as a whole. They leave the precise characteristics of the learned boundary and its dependence on individual attributes unexplored.
Comparing the representations under logistic regression gives a related observation. The contextual character profile improves balanced accuracy relative to the frequency profile while the classifier family stays the same. It also produces the reported detective recall of 0.919 in that setting. The same representation ordering appears with the SVM. This supports the usefulness of the contextual profile as a package. That package changes several things at once, including the way a word’s occurrence is represented and the way occurrences are combined across the character’s passages.
The handling of verbs for actions directed at the character is the closest the paper comes to examining a particular feature removal. The authors say their preliminary trials found limited discriminatory value for these verbs because they occurred sparsely. The final contextual profile therefore leaves them out. The paper gives a reason for the decision, while leaving its quantitative effect unspecified. It also leaves the contributions of action verbs, modifiers, and possessives unresolved under matched omission tests. Their separate lexical rankings show what kinds of information they carry and serve as an interpretation of the corpus predictions.
The distinction between a ranking and a removal test matters for words such as question. A high distinctiveness score means the word is relatively associated with the predicted detective group in the lexical comparison. To measure how much prediction relies on that word, the evaluation would need to examine performance with the relevant evidence withheld. A character can supply several overlapping signals of investigation, and a frequent descriptor can be redundant with other evidence. The reported scores offer a way to describe the predicted class and connect it to literary interpretation.
What the stricter holdouts test
The grouped evaluations probe whether the reported recognition depends on familiar sources of information appearing in both training and testing. Character grouping addresses recurrence. A detective such as Maigret can contribute several profiles, with familiar habits and patterns of description recurring across books. Holding those appearances out together makes the classifier recover the label for that figure using evidence learned from other characters. The authors report only small changes from the best ordinary validation result across the grouped evaluations. This is evidence that the classifier draws on patterns shared among investigators in the annotated sample.
Author grouping imposes a different demand. Several characters may be depicted through similar choices about action, description, or dialogue because the works share an author. Holding an author’s labeled characters together means that the evaluator can ask how well the classifier transfers to that author’s works. This makes the evidence for a shared archetype stronger than a split in which examples of the same writer’s language are readily available on either side. The test concerns authors represented by the annotated data and the kinds of character profiles extracted from their books.
The period grouping asks whether detective recognition persists when the test cases come from an interval withheld as a group. The paper reports these checks with 10-, 20-, and 50-year intervals and describes performance as showing no significant degradation. It also describes the prediction error over time as broadly stable, with some fluctuations. The different intervals put historical variation into the validation design. A stable score under this procedure supports the idea that the classifier can draw on investigative features shared across periods, even when the characteristic vocabulary and styles of the test cases have some historical specificity.
The historical holdout and the clustering answer complementary questions. Period holdouts ask whether a common distinction between detective and non-detective can be recognized across time. The clustering asks whether the recognized detectives have differences that also track time. A character’s activities can supply enough common evidence for a successful detective prediction and still combine with a period-specific register, social setting, or way of thinking through a case. That combination accounts for the paper’s emphasis on both continuity and change.
What checking the vocabulary in context adds
The authors’ readings of passages help establish how far the cluster descriptions make sense as literary interpretations. A speech verb in the classical cluster gains meaning when considered alongside questioning and the detective’s use of exchanges to gather evidence. Maigret’s sigh is legible as part of the narration’s interest in his presence in a scene. The vulgarity in the modern example appears amid anger and an abrupt physical gesture. In each case, examining the local text connects a statistical association to the activity or stance the authors argue is characteristic of the group.
This kind of inspection also reveals the distance between a characteristic word and a characteristic scene. Enfiler can describe the ordinary action of putting on a coat. Its usefulness to the discussion depends on what happens around that action and how the investigator moves through the story. Likewise, a question can advance an inquiry or belong to unremarkable conversation. The paper uses the lexical rankings to direct attention to examples where the surrounding passage helps make sense of a group. The evidence is interpretive and works at the level of the examples read alongside the aggregate patterns.
Limitations
Limits the authors identify
The authors identify automatic character processing as an important source of uncertainty. A coreference system can merge mentions of different people into one chain or divide the references to a single person among several chains. Either error changes the data before classification begins. A merge can credit the detective with another character’s actions or descriptions. A split can leave important actions on a separate profile and reduce the apparent visibility of the character in each fragment. The authors explain that the scale of the study makes comprehensive manual checking of those chains impractical.
The consequences extend through the later analyses. The classifier sees the attributes associated with the chain it receives. The mention-ratio uses the length of that chain. The lexical comparisons and clusters use information taken from the same profiles. A chain error can therefore affect the assigned role, the estimated prominence, and the interpretation of the group vocabulary. The validation of detective labels measures the behavior of the overall classification procedure on annotated examples. It leaves individual chain errors in the larger historical sample uncertain.
The authors also discuss the limitations of lemmatized unigrams for extracting and interpreting attributes. A lemma is a common form under which inflected words can be counted together, and a unigram is an individual word treated as the unit of analysis. This representation helps combine occurrences that share a vocabulary item. It can lose the effect of nearby material. A description that denies intelligence and a description that attributes intelligence can contribute the same lexical item. Degrees of a quality can likewise collapse when the relevant modifier is separated from the phrase in which it occurs.
Polysemy poses another problem. One word can have several uses, as the modern cluster’s discussion of foutre illustrates. The lexical counts pool uses of a word while the interpretation may depend on the specific meaning or register in the passage. The study’s contextual vectors bring local usages into the classification and clustering, while the ranked lexical items remain limited by the underlying extraction and counting. The authors discuss ways that attention to phrases, negation, and sense in context could improve a future account of character attributes.
The conclusion also identifies the binary label as a simplification of the literary phenomenon. The authors envisage studying degrees of detectiveness and how investigative behavior interacts with other roles. This matters in a case such as Lupin, where roles coexist and can structure different parts of a story. The current classification produces a definite decision for each profile, which makes the corpus series possible. A study of degrees or overlapping roles could ask how much a figure participates in investigative activity and how that participation relates to being a criminal, a witness, or another kind of character.
Limits that follow from the setup
The positive annotation emphasizes prominent, recurring, and influential examples. That choice gives the investigation a historically meaningful starting point and enough variation to compare styles of detective fiction. It makes the annotation less informative about marginal cases outside those traditions. Meanwhile, the negative examples sampled from Chapitres represent a broad mixture of functions. The study’s performance on this contrast leaves open how accurately the classifier distinguishes detectives from superficially similar figures, such as characters who question witnesses or examine events for another purpose. Results on such cases would bear directly on how sharply the inferred category follows the literary role.
The grouped evaluations strengthen the evidence for transfer within the study. Some uncertainties remain at the corpus level. The labeled sample has its own composition of periods, authors, and kinds of character, and the corpus application includes a much wider body of automatically assembled profiles. Precision and recall measured on the annotation give an account of that evaluation set. The historical counts depend additionally on the composition of Chapitres, the mention-based selection within each novel, and the behavior of the classifier on those selected characters. The percentages are therefore most precisely read as corpus estimates for the sampled character instances.
The prominence measure is interpretable as relative visibility in character mentions. Narratives can also confer importance through a brief deduction, an account relayed by another person, or a choice about whose thoughts are available to readers. The mention-ratio gives these different narrative arrangements a common observable scale by counting references to the character relative to the book’s average. It leaves causal importance, perspective, and control over the investigation to literary interpretation. The ten-character restriction also bounds the prevalence analysis by omitting characters with fewer mentions who might still perform investigative work.
The claim about historical emergence has a related scope. Predictions around 1860 locate early examples according to the representation, classification, and works examined in Chapitres. The literary context gives reasons to place the establishment of the figure in this part of the century. A definitive first occurrence would require evidence about earlier and less visible candidates beyond what a series of predictions from this corpus can settle. Similarly, changes in the share of detectives may reflect the mix of books in Chapitres as well as changes in how characters functioned across French fiction.
The cluster count also depends on choices made during exploration. The authors saw three groups in a two-dimensional UMAP display and asked K-means to find three. The procedure supplies a vocabulary and a collection of examples for each of those groups. The paper leaves their stability across different projection settings and alternative numbers of clusters unestablished. A projection can place nearby points usefully for inspection while simplifying other relationships among comparable profiles. The literary fit of the clusters makes the interpretation plausible, with uncertainty about how sharply the historical groupings are separated.
Publication period can be visible in word usage, style, or authorship alongside changes specific to detectives. The temporal organization of the clusters is consistent with the authors’ account of the archetype’s development. The analysis leaves those potential sources of historical similarity intertwined. It also works on characters already selected by the classifier. Investigators with unusual signals can be missed before clustering, so the semantic trajectory describes changes among detectable portrayals under this procedure. The close readings anchor the interpretation of selected profiles, while the full range of possible portrayals remains open.
What came after
No follow-up study is documented for this paper. Its conclusion proposes studying degrees of detectiveness, examining overlap between investigative and other character roles, and applying the same combination of corpus analysis and close reading to archetypes in other genres. These are directions the authors identify for future research. The reported experiments concern the detective in French fiction.
Cite
Cite as Jean Barre, Olga Seminck, Antoine Bourgois and Thierry Poibeau. 2025. Modeling the Construction of a Literary Archetype: The Case of the Detective Figure in French Literature. arXiv:2511.00627.
@misc{barre2025modeling,
title = {{Modeling the Construction of a Literary Archetype: The Case of the Detective Figure in French Literature}},
author = {Jean Barre, Olga Seminck, Antoine Bourgois and Thierry Poibeau},
year = {2025},
doi = {10.48550/arxiv.2511.00627},
eprint = {2511.00627},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2511.00627}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/barre-2025-modeling-construction-literary-archetype-case/
References
- David Bamman. 2021. BookNLP. https://github.com/booknlp/booknlp OpenAlex ↗ · Scholar ↗
- David Bamman, Olivia Lewke, Anya Mansoor. 2020. An Annotated Dataset of Coreference in English Literature. Proceedings of the Twelfth Language Resources and Evaluation Conference. our card
- David Bamman, Ted Underwood, Noah\bibnamedelima A. Smith. 2014. A Bayesian Mixed Effects Model of Literary Character. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). doi:10.3115/v1/P14-1035. our card
- Jean Barré. 2024. Latent Structures of Intertextuality in French Fiction. Proceedings of the Computational Humanities Research Conference 2024. https://ceur-ws.org/Vol-3834/paper97.pdf OpenAlex ↗ · Scholar ↗
- Jean Barré, Jean-Baptiste Camps, Thierry Poibeau. 2023. Operationalizing Canonicity: A Quantitative Study of French 19th and 20th Century Literature. Journal of Cultural Analytics. doi:10.22148/001c.88113. OpenAlex ↗ · Scholar ↗
- Jean Barré, Pedro Cabrera\bibnamedelima Ramírez, Frédérique Mélanie, Ioanna Galleron. 2023. Pour une détection automatique de l'espace textuel des personnages romanesques. Humanistica 2023. https://hal.science/hal-04105537 OpenAlex ↗ · Scholar ↗
- Lucille\bibnamedelima F. Becker. 1977. Georges Simenon. OpenAlex ↗ · Scholar ↗
- Roger Bonniot. 1985. Émile Gaboriau ou La naissance du roman policier. OpenAlex ↗ · Scholar ↗
- G.J. Bork, D. Delabastita, H.\bibnamedelimi Van Gorp, P.J. Verkruijsse, G.J. Vis, Lars Bernaerts, Frank Willaert, Esther\bibnamedelima Op Beek, Nina Geerdink, Sara\bibnamedelima Van Bossche, Orsolya Réthelyi. 2012. Algemeen Letterkundig Lexicon. https://www.dbnl.org/tekst/dela012alge01_01/dela012alge01_01_00775.php OpenAlex ↗ · Scholar ↗
- Antoine Bourgois, Thierry Poibeau. 2025. The Elephant in the Coreference Room: Resolving Coreference in Full-Length French Fiction Works. our card
- Charles Brownson. 2014. The figure of the detective: a literary history and analysis. OpenAlex ↗ · Scholar ↗
- Anne Cadin. 2018. Le moment américain du roman français: 1945-1950. OpenAlex ↗ · Scholar ↗
- John\bibnamedelima G. Cawelti. 1997. Adventure, mystery, and romance: formula stories as art and popular culture. OpenAlex ↗ · Scholar ↗
- Jacques Dubois. 1985. Naissance du récit policier. Actes de la Recherche en Sciences Sociales. doi:10.3406/arss.1985.2287. OpenAlex ↗ · Scholar ↗
- Anton Ehrmanntraut, Leonard Konle, Fotis Jannidis. 2023. LLpro: A Literary Language Processing Pipeline for German Narrative Texts. Proceedings of the 19th Conference on Natural Language Processing (KONVENS 2023). https://aclanthology.org/2023.konvens-main.3/ OpenAlex ↗ · Scholar ↗
- Murray\bibnamedelima S Ellison. 2015. Edgar Allan Poe and Science: Unraveling the Plot of the Universe. OpenAlex ↗ · Scholar ↗
- Noel\bibnamedelima B. Gerson. 1977. The Vidocq dossier: the story of the world's first detective. OpenAlex ↗ · Scholar ↗
- Leonard Konle, Agnes Hilger, Fotis Jannidis. 2023. On Character Perception and Plot Structure of German Romance Novels. Proceedings of the Computational Humanities Research Conference (CHR 2023). OpenAlex ↗ · Scholar ↗
- Leonard Konle, Fotis Jannidis. 2022. Modeling Plots of Narrative Texts as Temporal Graphs. Proceedings of the Computational Humanities Research Conference (CHR 2022). OpenAlex ↗ · Scholar ↗
- Elsa\bibnamedelima de Lavergne. 2009. La naissance du roman policier français: du Second Empire à la Première Guerre mondiale. OpenAlex ↗ · Scholar ↗
- Aude Leblond. 2022. Corpus Chapitres. doi:10.5281/zenodo.7446728. OpenAlex ↗ · Scholar ↗
- Andrew Lycett. 2007. The man who created Sherlock Holmes: the life and times of Sir Arthur Conan Doyle. OpenAlex ↗ · Scholar ↗
- Louis Martin, Benjamin Muller, Pedro\bibnamedelimb Javier\bibnamedelima Ortiz Suárez, Yoann Dupont, Laurent Romary, Éric\bibnamedelima Villemonte La\bibnamedelima Clergerie, Djamé Seddah, Benoı̂t Sagot. 2019. CamemBERT: a tasty French language model. arXiv preprint arXiv:1911.03894. our card
- Anne Martinetti. 1997. Le Masque: histoire d'une collection. OpenAlex ↗ · Scholar ↗
- Leland McInnes, John Healy, James Melville. 2020. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. our card
- Frédérique Mélanie-Becquet, Jean Barré, Olga Seminck, Clément Plancq, Marco Naguib, Martial Pastor, Thierry Poibeau. 2024. BookNLP-fr, the French Versant of BookNLP. A Tailored Pipeline for 19th and 20th Century French Literature. Journal of Computational Literary Studies. doi:10.48694/jcls.3924. OpenAlex ↗ · Scholar ↗
- Régis Messac. 2011. Le detective novel et l'influence de la pensée scientifique. OpenAlex ↗ · Scholar ↗
- Burt\bibnamedelima L. Monroe, Michael\bibnamedelima P. Colaresi, Kevin\bibnamedelima M. Quinn. 2017. Fightin’ Words: Lexical Feature Selection and Evaluation for Identifying the Content of Political Conflict. Political Analysis. doi:10.1093/pan/mpn018. OpenAlex ↗ · Scholar ↗
- Franco Moretti. 2000. Conjectures on world literature. New left review. OpenAlex ↗ · Scholar ↗
- Franco Moretti. 2013. Distant Reading. OpenAlex ↗ · Scholar ↗
- Marco Naguib, Marine Delaborde, Blandine Andrault, Anaı̈s Bekolo, Olga Seminck. 2022. Romanciers et romancières du XIXème siècle: une étude automatique du genre sur le corpus GIRLS (Male and female novelists: an automatic study of gender of authors and their characters). Actes de la 29e Conférence sur le Traitement Automatique des Langues Naturelles. Atelier TAL et Humanités Numériques (TAL-HN). OpenAlex ↗ · Scholar ↗
- Maja Pandžić. 2020. E. A. Poe and A. A. Shkljarevskij: Foregrounding Deduction and/or Social Commentary – A Comparative Study of Early Detective Fiction. [sic] - a journal of literature, culture and literary translation. doi:10.15291/sic/1.11.lc.5. OpenAlex ↗ · Scholar ↗
- F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, E. Duchesnay. 2011. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
- Sita Schutt. 1998. Rivalry and Influence: Nineteenth-Century French Detective Narratives. The Art of Murder. OpenAlex ↗ · Scholar ↗
- Julian Symons. 1993. Bloody murder: from the detective story to the crime novel. OpenAlex ↗ · Scholar ↗
- Tzvetan Todorov. 1980. Typologie du roman policier. Poétique de la prose. OpenAlex ↗ · Scholar ↗
- Jean-Jacques Tourteau. 1970. D'Arsène Lupin à San-Antonio: Le roman policier français de 1900 à 1970. OpenAlex ↗ · Scholar ↗
- Ted Underwood. 2019. Distant horizons: digital evidence and literary change. OpenAlex ↗ · Scholar ↗
- Ted Underwood, David Bamman, Sabrina Lee. 2018. The Transformation of Gender in English-Language Fiction. Journal of Cultural Analytics. doi:10.22148/16.019. OpenAlex ↗ · Scholar ↗
- Jean-Claude Vareille. 1985. Roman policier archaïque et aventure archaïque. L'Aventure dans la littérature populaire au xixe siècle. doi:10.4000/books.pul.1232. OpenAlex ↗ · Scholar ↗
- Laurine Vianne, Yoann Dupont, Jean Barré. 2023. Gender Bias in French Literature. Proceedings of the Computational Humanities Research Conference. OpenAlex ↗ · Scholar ↗
- Williard Huntington Wright. 1947. The Great Detective Stories. The Art of the Mystery Story. OpenAlex ↗ · Scholar ↗
- Joris Zundert, Andreas Cranenburgh, Roel Smeets. 2023. Putting Dutchcoref to the Test: Character Detection and Gender Dynamics in Contemporary Dutch Novels. Computational Humanities Research Conference. OpenAlex ↗ · Scholar ↗