Elamur Research

Stop Removing Stopwords: How an Inherited Preprocessing Default Distorts Legal Text-as-Data

Paper · 2026 · Gregory M. Dickinson

Summary

A small word can determine which legal rule a phrase names. Delete the conjunctions from the names of the Privileges and Immunities Clause and the Privileges or Immunities Clause, and both can leave the same feature. Yet removing common words before counting terms and phrases is a familiar step in text classification. Gregory M. Dickinson tests whether that step earns its place in research on U.S. Supreme Court opinions. The question matters for prediction and for interpretation. In a study that draws conclusions from the weight assigned to a phrase, preprocessing helps determine which phrases the researcher can draw conclusions about.

The study pairs Supreme Court Database labels with opinion texts from the Caselaw Access Project. It asks a classifier to recover the ideological direction of a decision from 7,668 opinions and to identify decisions on constitutional grounds from a corpus of 7,001 opinions. For each task, the reference pipeline retains common words, represents individual words and short sequences using TF-IDF, and fits a logistic regression. The reference scores on held-out opinions were 0.6819 for ideology and 0.9185 for law type, measured by weighted F1. The ideology task gives a preprocessing change more room to help, while the law-type task starts much closer to the top of the scale.

Every generic stoplist tested yielded a lower held-out score than keeping the words, across twelve comparisons. The estimates are uncertain, and the comparisons share much of their data and vocabulary. The paper also gives removal a more favorable test. It scores the effect of deleting each of roughly 18,500 candidate words per task, then combines the words with gains above a threshold informed by measurement noise. With features extending through three-word sequences, the resulting lists changed held-out weighted F1 by +0.0023 for ideology (95% confidence interval [−0.0124, +0.0170]) and +0.0001 for law type ([−0.0082, +0.0085]). Neither improvement was distinguishable from zero.

The additional analyses explain why good-looking individual removals produced so little as a group. Many of the selected words changed predictions for the same borderline opinions, so adding their individual gains credited some of the same corrections repeatedly. The measured benefits were also sensitive to how the training opinions were divided for evaluation. Statistics about words and their surroundings did a poor job of predicting the gains, consistent with the paper’s finding that the stable differences among typical words were very small. Dickinson recommends keeping common words by default in this kind of legal research and evaluating any proposed removal on unseen opinions. A differently chosen list could still help. The tests establish how much support the usual practice received, including when the list was chosen for the specific task.

Deep dive: Stop Removing Stopwords: How an Inherited Preprocessing Default Distorts Legal Text-as-Data

A study of whether removing common words improves Supreme Court opinion classification and what the practice does to legally meaningful phrases. · about 36 minutes to read

The problem and its context

Why common words became candidates for deletion

A stoplist is a vocabulary of words designated for removal before text is analyzed. A list can include familiar grammatical words such as the, of, and and. Once a pipeline applies it, every occurrence of a listed word is removed, whether it appears in a routine turn of phrase or in the name of the legal provision the researcher wants to study. The procedure offers a simple answer to a broader question about representation. Given a document with many recurring words, which ones are worth giving the system a way to see?

The paper traces the practice to early information retrieval, where it addressed both the usefulness of index terms and the space an index occupied. Hans Peter Luhn reasoned that terms in a middle band of frequency were especially useful for distinguishing documents. A very common word would occur across much of a collection, while a very rare one offered limited reach. The other argument concerned storage. According to the estimate from van Rijsbergen that Dickinson quotes, omitting common terms could make the document file 30 to 50 percent smaller. Those considerations made sense for deciding what to store and look up in a document collection. A classifier has a different test of value. A term contributes if its presence, its absence, or its place in a phrase helps predict the assigned label.

The lists outlasted the circumstances that made them attractive. Salton’s SMART retrieval system compiled common words into an exclusion dictionary. Fox’s later 421-word list drew on frequency counts from the Brown Corpus and included decisions about which words to retain or add by hand. Dickinson describes a similar legacy for the English list distributed with scikit-learn, which descends from a list circulated by the University of Glasgow’s information retrieval group. The resulting software option makes deletion easy to reproduce. Its availability says little about whether the original choices suit a new corpus or outcome.

In the paper’s account, retrieval systems moved towards progressively smaller lists as index compression and inverse-document-frequency weighting reduced the original incentives. Stoplists remained common in natural language processing, where software and textbooks helped make them routine. Dickinson gives an example from his own earlier work on Supreme Court oral arguments. That study removed stopwords before extracting features from transcripts to predict justices’ votes, on the assumption that the words would interfere with the analysis. It did not test that assumption. The example shows how an ordinary preprocessing choice can enter a research design without ever being compared with the same design using intact text.

Two ways deletion might help

The first argument for deletion is that common grammatical words convey little about a document’s class. On this view, removal leaves a greater share of informative material for the classifier. The argument is plausible for some individual words in some tasks. Establishing it for a list requires knowing what the rest of the pipeline would have done with those words. A vocabulary cap can make the allocation of feature slots consequential. A weighting procedure already discounts widely distributed terms, and a fitted classifier can assign little weight to terms that have limited use for the labels. The incremental value of removing them has to be judged in that setting.

The second argument concerns the phrases that become visible after deletion. An n-gram is a sequence of adjacent units. In this study the units are words, so a unigram is an individual word, a bigram is an adjacent pair, and a trigram is a sequence of three. Consider the paper’s example Secretary of the Treasury. An ordinary bigram representation can include Secretary of and the Treasury. The pair Secretary Treasury becomes available only once the intervening words are deleted. Dickinson calls this effect bridging. The operation changes adjacency before the vectorizer looks for sequences.

The attraction of bridging is especially clear in legal prose. In phrases such as breach of the peace and freedom of the press, words that carry much of the recognizable subject matter are farther apart than the study’s intact trigram representation can reach. Deletion can bring them within range while keeping the representation compact. The paper connects this reasoning to work on collocations, combinations whose members occur together more often than chance would suggest. A useful combination can have a recognizable meaning even when its components occur widely on their own. Word Association Norms, Mutual Information, and Lexicography

The same operation changes what can be lost. If a word goes away, the representation loses that unigram and the sequences that included it in its original position. A replacement sequence records adjacency in the filtered text. A researcher using its coefficient as evidence must therefore know what original expressions can produce it. A feature that collects several phrasings of the same legal idea could be valuable. A feature that collects expressions naming different doctrines has a different meaning, even if it helps classification. Dickinson uses the two Privileges clauses to make that distinction concrete. Their connective words are part of what identifies them.

Why test a list built for the task?

The paper distinguishes the conventional use of generic lists from a more defensible claim about task-specific selection. Software documentation already provides grounds for skepticism about a universal English list. A word can look expendable in a general collection and be highly informative in a particular field. Choosing words with knowledge of the corpus and the outcome could, in principle, avoid the most obvious mistakes of applying a fixed list.

Earlier attempts described by Dickinson used several ways to select words. Some relied on frequency, some on similarity or entropy, and some used documents with class labels. The paper discusses work on biomedical collections, retrieval collections, patents, and topic modeling. The results across applications were mixed. Dickinson notes that research on topic modeling questioned how substantive the apparent gains were, and that work on Twitter sentiment found deterioration with precompiled lists. These studies measured different outcomes in different kinds of text. The question of whether a tailored list improves supervised classification of Supreme Court opinions remained open in the literature the paper reviews.

The difficulty with selecting a word by its properties is the distance between the property and the outcome. Knowing how frequently a word occurs does not tell a researcher how a change to the entire set of features will affect predictions. Even properties more closely tied to the task, such as a word’s association with the label, capture only part of that change. Removing a word can affect phrases that contain it, create new phrases, alter the features kept under the vocabulary cap, and lead to different fitted weights. Dickinson proposes measuring that combined consequence by refitting the classifier after each deletion. This gives a task-specific list a chance to use direct evidence on the metric it is meant to improve.

Why the features matter in judicial research

The paper places its experiment within earlier research on judicial decisions. Some approaches estimate justices’ ideological positions from voting records. Others predict outcomes from structured information already coded for cases, as described in A general approach for predicting the behavior of the Supreme Court of the United States. Studies that use the text itself have examined subjects including ideological direction, issue area, and stance. Dickinson takes this body of work as evidence that the Court’s language carries label-relevant information and makes the preprocessing of that language the variable to investigate.

Sparse representations are particularly useful when the analyst wants to inspect the terms associated with a decision. A document has a value only for the relatively small share of all candidate words and phrases that it contains. With a linear classifier, the researcher can inspect the signed weight assigned to a feature. Dickinson describes short word sequences and linear classifiers as established tools in legal text studies, including work on judicial decisions discussed in Predicting judicial decisions of the European Court of Human Rights. The paper also situates this approach alongside legal benchmark research such as LexGLUE. Its experiment targets the particular representation where stock-word deletion is familiar and where changing adjacency can directly change the terms available for interpretation.

That makes the choice more consequential than a minor adjustment to a prediction score. Suppose a researcher wants to identify language associated with the constitutional basis of a decision. The classifier can give a weight only to a feature that survived the transformation from opinion to input. If several distinct legal phrases were merged in that transformation, an inspectable coefficient still refers to the merged feature. The paper treats such decisions as part of how a study measures legal language. Prediction provides a concrete test of the claimed benefit, while the phrase examples show why the transformation deserves attention even when the score barely moves.

The method, step by step

Match decisions to majority opinions

The Supreme Court Database supplies the outcome labels in its 2025 release. Dickinson uses the modern era, beginning in 1946. The database codes decisions and supplies no opinion text for the classifier to read. The Caselaw Access Project supplies that side of the study. The matching procedure first uses a U.S. Reports citation when available, falls back to a Supreme Court Reporter citation, and then tries the docket number. The textual input is the majority opinion matched to the decision.

Cases without located opinion text are dropped. The study also excludes cases for which the legal-basis coding does not suit the proposed binary distinction, with common law and original jurisdiction given as examples. Opinions shorter than 2,000 characters are filtered out as procedural material too brief to supply the substantive reasoning the study seeks. These decisions define the material to which the results apply. The inputs are matched, filtered majority opinions, and the outcomes come from the corresponding case records.

For ideology, the target is decisionDirection, the database’s liberal or conservative coding of the decision. For law type, lawType is reduced to a distinction between constitutional and non-constitutional grounds. Every eligible opinion enters one of two parts of its task’s dataset. A stratified ten-percent holdout preserves the distribution across labels and term decades. The remainder is the training set, within which the paper tunes the baseline and searches for words to remove. The holdout is set aside for the comparisons of finished pipelines.

These divisions serve different purposes. Cross-validation within training lets the paper use the training opinions both to fit the classifier and to assess each experimental deletion. In each fold, the part being scored sits outside the fit for that fold. Nonetheless, the cross-validated results determine which words are chosen, so a score on those same opinions has already influenced the list. The separate holdout asks how that chosen list behaves on opinions that had no part in the choice.

How the task-specific stoplists are built and tested

The steps in order.

How the task-specific stoplists are built and testedStep 1: Match coded decisions to majority opinions1. Match coded decisions to majority opinionsStep 2: Filter cases and reserve held-out opinions2. Filter cases and reserve held-out opinionsStep 3: Fit the reference pipeline with words intact3. Fit the reference pipeline with words intactStep 4: Delete each candidate separately and refit4. Delete each candidate separately and refitStep 5: Repeat selected measurements to estimate noise5. Repeat selected measurements to estimate noiseStep 6: Combine eligible words above the cutoff6. Combine eligible words above the cutoffStep 7: Refit and compare on held-out opinions7. Refit and compare on held-out opinions

Turn each opinion into weighted word sequences

The reference pipeline starts with the words intact. Its primary n-gram range is (1,3), which includes unigrams, bigrams, and trigrams. An alternative range, (1,2), retains unigrams and bigrams. The alternative helps assess whether deletion behaves differently when the available features extend to longer sequences. The paper draws on the distinction between adjacent word features of different lengths discussed in Baselines and Bigrams.

Whenever a condition uses a stoplist, it is applied to the sequence of tokens before features are formed. This order matters. Dropping the feature for a word after vectorization would leave the original adjacency in place. Dropping the token first can change the neighboring bigrams and trigrams, which is the operation whose effects the paper wants to test. The removed words are also absent from the opinions the resulting classifier is asked to score.

Only the 150,000 features with the highest frequencies are kept in the vocabulary. The cap applies to the mix of individual words and short sequences, so the number of unigrams eligible for the later search is considerably smaller than the number of feature slots. Dickinson describes the cap as a practical measure for making repeated fits feasible, with little accuracy cost relative to the uncapped vocabulary. Because the entire representation is rebuilt for a removal condition, the features admitted under that rule can change along with the text.

TF-IDF weights a feature using its frequency in an opinion and how widely it occurs among opinions. A term that occurs often in a particular document can receive more weight, with the inverse-document-frequency component discounting terms that occur throughout the collection. The experiment also scales within-opinion counts sublinearly. The term-frequency component uses the following expression.

log(1 + tf)

Here tf is the count of the feature in the opinion, 1 is the constant added to the count, and log takes its logarithm. The scaling gives additional occurrences progressively less influence. In a collection where some opinions exceed 350,000 characters, Dickinson uses it to limit the influence of sheer length on the term-frequency component.

Fit the classifier and choose the reference settings

The classifier is logistic regression with an L2 penalty. It produces an estimated probability from the weighted features, and the signs of its coefficients indicate the direction in which features contribute to the classification. L2 regularization penalizes large coefficients and helps keep the fit stable across a large vocabulary. The paper favors logistic regression in part because it can be refit repeatedly for the ablation and partly because the resulting coefficients can be inspected. Its probability estimates also make it possible to measure how close an opinion lies to the classification boundary in the supplemental analysis.

The setting C is the inverse of regularization strength. Higher values allow a weaker penalty. The paper searches six values from 0.01 to 1,000, evaluating them with five-fold cross-validation on the training set. Both tasks attain their highest average score at C = 100. The study uses C = 10 on both tasks. For ideology, the chosen value trails the peak by 0.0012 in cross-validated weighted F1. For law type, it trails by 0.0030. Dickinson judges these margins small relative to variation across folds and chooses a shared setting with stronger regularization. The fold experiment for choosing C is separate from the later three-fold experiment for measuring individual deletions.

The outcome metric is weighted F1. For each class, F1 combines precision, the share of predictions for that class that are correct, with recall, the share of actual members of that class recovered by the classifier. The combined score gives each class weight according to its prevalence in the evaluated opinions. For law type, the more common non-constitutional class therefore has greater influence on this aggregate than the constitutional class. The same metric is used for testing generic lists, selecting candidate words, and evaluating the finished lists. A change in the metric answers a consistent question across those stages, even though the partitions being scored differ.

Measure the effect of deleting each word

The first experiment takes existing English stoplists as they are and evaluates the resulting pipelines. The more demanding experiment builds a candidate list separately for each task. A candidate must be a unigram in that task’s baseline vocabulary, appear in at least five opinions, and survive the 150,000-feature cap. That gives the ideology experiment 18,575 candidate words and the law-type experiment 18,557. The search is exhaustive within those pools.

For each candidate, Dickinson removes every occurrence of that word before vectorization and refits the full (1,3) pipeline. Each deletion is a fresh comparison with the intact reference. If one word has already been tested, its deletion is not carried into the next test. The search therefore measures how each word behaves when the rest of the vocabulary is present. The comparison can reflect changes to neighboring sequences and to learned weights as well as the loss of the candidate’s own unigram.

The training opinions are divided into a fixed, shuffled, stratified set of three folds. Each candidate and the reference condition are scored on the same folds. The change recorded for the candidate can be written as follows.

ΔF1 = F1removed − F1intact

ΔF1 is the measured change in weighted F1 for the candidate. F1removed is the cross-validated weighted F1 with that word removed, and F1intact is the score with the words retained, on the same fold assignment. A positive change favors removing the word in that run. The same difference of scores is used later to compare complete lists on the holdout, where the conditions are fitted on the training data and compared on the reserved opinions.

Using common folds makes a deletion and its reference comparable opinion by opinion. The choice of folds can still move the result. A classifier fitted on a different subset of opinions can assign a different probability to an opinion close to the boundary. Since the measured change can be tiny, a small number of different classifications can alter the apparent ranking of candidate words. The computational cost of testing each candidate is substantial. The main runs took roughly 208 hours for ideology and approximately 211 hours for law type in wall-clock time, with eight workers running in parallel.

Repeat part of the search and estimate its noise

The paper repeats the ablation for 1,150 ideology candidates and 1,131 law-type candidates under a new assignment of the training opinions to folds. The estimator and pipeline settings stay fixed. Conceptually, a word’s measured change has a stable component, the average it would have across possible assignments of opinions to folds, and a component attributable to the particular split drawn. The retest uses a fresh split to estimate how much of the variation among words recurs.

The repeated groups serve different purposes. A random sample of 300 words provides the main estimate for the candidate vocabulary as a whole. A group of 300 words with the highest document frequencies supplies the noise scale used to calibrate the cutoff. A frequency-stratified sample of 500 words, drawn at 100 per fifth of the vocabulary ranked by document frequency, checks how reliability changes with frequency. The study also retests the words it selected. For that group, the question is how much of a favorable first measurement survives a fresh pass, since choosing words for their initial scores changes how the paired measurements can be interpreted.

For each group used to assess reliability, r is the Pearson correlation between a word’s measured change in the first run and its change in the second. The paper interprets it as the share of across-word variance that is stable, under the assumptions of the decomposition. The spread of the measured effects, σobs, is the geometric mean of the standard deviations across words in the two runs. From there the stable spread is estimated as follows.

σtrue = √r · σobs

σtrue is the estimated standard deviation of stable removal effects across words. √r is the square root of the correlation used as a reliability estimate. σobs is the observed spread defined above, and · denotes multiplication. The remaining scale is estimated with the following expression.

σnoise = √(1 − r) · σobs

σnoise is the estimated standard deviation of measurement error across words. 1 − r is the share of variance attributed to error under the decomposition. The square root converts that share into a multiplier on the observed standard deviation. When the measured correlation is negative, Dickinson reports zero stable spread and assigns the observed spread to noise for this calculation. The paper uses the Fisher z transformation to form a 95% confidence interval for the correlation and passes its upper endpoint through the stable-spread calculation to obtain an upper limit.

The error scale in the most frequent group is 0.000948 in weighted F1 for ideology and 0.000325 for law type. The operative selection cutoffs are 0.001145 and 0.000354, respectively. A word makes it onto a task’s list if its measured improvement is strictly above that task’s cutoff and the token consists solely of letters. That second condition excludes numerals and tokens containing digits from the finished lists. The threshold is a screening rule for a large search. Its role is to keep the smaller changes from determining the list, with the independent holdout used to judge the result.

Evaluate the finished list and its uncertainty

For each task, the words that qualify are removed together before vectorization. The resulting pipeline is fitted on the training opinions and scored on the holdout. The reference condition is fitted and scored on the same split. The paper repeats the comparison with the shorter n-gram range, using the same selected words. In that part of the design, it changes the representation in which the list operates while leaving list membership fixed.

For uncertainty, the paper uses a paired bootstrap. After the pipelines have been fitted, each has a fixed prediction for every holdout opinion. Each of 10,000 resamples draws from those opinions with replacement. All conditions being compared are scored on the same draw, and the change in weighted F1 is recorded. The 2.5th and 97.5th percentiles of those changes serve as the endpoints of the 95% confidence interval. Pairing helps because a particularly easy or difficult draw can affect both scores in the same direction. Disagreement between the pipelines on the sampled opinions still contributes uncertainty.

The protocol thus answers three related questions with different comparisons. An individual deletion is judged on shared training folds. A finished list is judged against an intact reference on reserved opinions. The bootstrap asks how sensitive that last comparison is to the mix of opinions in the holdout, given the predictions from the fitted pipelines. A large individual score, a positive list estimate, and a precisely measured improvement are distinct outcomes within this design.

Experiments and results

The reference scores and the room for improvement

The ideology dataset contains 7,668 opinions, with 6,902 available for training and 766 in the holdout. In the reported class balance, 51.3% are liberal and 48.7% conservative. The law-type dataset contains 7,001 opinions, with 6,301 for training and 700 for the holdout. Its reported class balance is 36.9% constitutional and 63.1% non-constitutional. The corpora share much of their text. They provide distinct prediction targets, with different class balances and different starting scores.

At the chosen regularization setting, the intact (1,3) pipeline has a five-fold cross-validated weighted F1 of 0.6531 for ideology and 0.9116 for law type on the training partitions. Its held-out weighted F1 is 0.6819 for ideology and 0.9185 for law type. Under the (1,2) representation, the intact holdout scores are 0.6897 and 0.9185, respectively. Each removal condition is compared with the reference for its own task and n-gram range. In particular, the ideology reference is higher with the shorter range on these held-out opinions, a detail that matters when interpreting a change in the effect of a stoplist across ranges.

The gap in starting scores motivates the pairing of tasks. For ideology, many opinions remain difficult to classify, and the paper treats this as giving a useful phrase-construction step scope to help. Law type is a test of whether any gain is detectable when the reference already performs at a high level. Each task also represents a different target of legal inquiry. Recovering a coded direction and recovering a coded legal basis can depend on different features, even when both predictions are made from the same opinion.

Generic lists compared with intact text

The stock lists come from scikit-learn, NLTK, and spaCy. Their published sizes are 318 words for scikit-learn, 198 for NLTK, and 326 for spaCy. Each list is used as a complete preprocessing condition, followed by refitting. The chart for each task shows the generic-list results alongside the intact reference and the main list built by the paper. All scores in the charts use the (1,3) range and come from the holdout.

Stoplist comparison on the ideology holdout, (1,3) weighted F1

The task-specific list has the highest point estimate, and every generic list falls below intact text.

Stoplist comparison on the ideology holdout, (1,3) weighted F1No removal: 0.6819No removal0.6819scikit-learn: 0.6676scikit-learn0.6676NLTK: 0.6771NLTK0.6771spaCy: 0.6651spaCy0.6651Task-specific list (this paper): 0.6842Task-specific list (this paper)0.6842
The numbers
System or settingweighted F1
No removal0.6819
scikit-learn0.6676
NLTK0.6771
spaCy0.6651
Task-specific list (this paper)0.6842

Stoplist comparison on the law-type holdout, (1,3) weighted F1

The scores are close together, with the task-specific list slightly above intact text and the generic lists below it.

Stoplist comparison on the law-type holdout, (1,3) weighted F1No removal: 0.9185No removal0.9185scikit-learn: 0.9171scikit-learn0.9171NLTK: 0.9172NLTK0.9172spaCy: 0.9157spaCy0.9157Task-specific list (this paper): 0.9186Task-specific list (this paper)0.9186
The numbers
System or settingweighted F1
No removal0.9185
scikit-learn0.9171
NLTK0.9172
spaCy0.9157
Task-specific list (this paper)0.9186

With the shorter range on ideology, the holdout weighted F1 is 0.6766 for scikit-learn, 0.6778 for NLTK, and 0.6738 for spaCy. The respective figures for law type are 0.9128, 0.9171, and 0.9129. These results also fall below intact text. Across the two ranges, the reported ideology changes from generic removal span −0.0048 to −0.0168 in held-out weighted F1. The reported law-type changes span −0.0013 to −0.0057. The list with the fewest members can still be disruptive, and the paper finds that size alone fails to account for the differences between lists.

Every individual generic-list comparison has a bootstrap interval spanning zero. The recurring direction of the estimates is relevant to the practical decision of whether to delete the words, since none of the generic-list point estimates supplies a gain. The twelve comparisons also share information. The lists include many of the same words, the two datasets include many of the same opinions, and the feature ranges share single words and pairs. Dickinson therefore gives the pattern no formal probability as a collection of separate tests. The evidence is a consistent set of unfavorable estimates with individual uncertainty wide enough to allow effects in either direction.

Screening yields 78 words for ideology and 95 words for law type. Removed as a group under (1,3), the ideology list changes held-out weighted F1 by +0.0023, with a 95% confidence interval of [−0.0124, +0.0170]. The law-type list changes it by +0.0001, with an interval of [−0.0082, +0.0085]. The stars in the charts identify the highest observed scores in those comparisons. The intervals show how much uncertainty sits behind that small lead. For instance, the positive end of the ideology interval admits an improvement of 0.0170 on the 766-opinion holdout, whereas the estimate from the observed opinions is +0.0023.

The same word lists do less well relative to their reference pipelines under (1,2). The change on the ideology holdout is −0.0043, with a 95% confidence interval of [−0.0174, +0.0088]. The change on the law-type holdout is −0.0057, with an interval of [−0.0157, +0.0042]. The paper reports a swing across ranges of 0.0066 for ideology and 0.0058 for law type. This contrast concerns each list’s effect relative to its own intact reference. The contrast is consistent with the paper’s claim that the features made possible by trigram bridging matter to the scores. Each range still yields an uncertain estimate of the list’s net contribution.

Dickinson also compares the selected lists directly with the stock lists. On ideology, the task-specific list has a higher point estimate than each generic list across both ranges. Its largest measured lead is +0.0191 in held-out weighted F1 over spaCy under (1,3), with a 95% interval of [−0.0066, +0.0449]. Law type yields mixed results under (1,2), including −0.0043 for the selected list against NLTK. All twelve paired intervals for the selected-versus-generic comparisons include zero. The evidence for preferring a task-specific list among removal methods remains uncertain, as does the evidence for using removal in the first place.

Some of the difference in uncertainty is visible in the paired standard errors. Under (1,3), the selected list versus intact text has a standard error of 0.0076 in holdout weighted F1 difference for ideology and 0.0040 for law type. The comparisons of generic lists with intact text range from 0.0122 to 0.0131 for ideology and from 0.0052 to 0.0059 for law type. The paper relates the difference to agreement on individual opinions. When two pipelines make many of the same predictions, changing the bootstrap sample tends to move their F1 scores together. Pipelines with more different predictions can remain hard to distinguish even with the benefit of pairing.

A stricter rule for choosing words

A supplemental comparison tests how much the result depends on the choice of cutoff. It rebuilds the lists at twice the measured error scale, with a threshold of 0.001896 in cross-validated weighted F1 for ideology and 0.000650 for law type. The stricter cutoff leaves three words on the ideology list and twenty-nine on the law-type list. One of the ideology words, and, passes by 0.000001. The paper treats that margin as marginal because the evaluation cannot meaningfully distinguish changes at that scale.

Under (1,3), the stricter ideology list has a held-out weighted F1 change of +0.0048 with a 95% interval of [−0.0080, +0.0177]. Under (1,2), the change is −0.0019 with [−0.0126, +0.0088]. For law type the respective changes are +0.0043 with [+0.0000, +0.0101] and +0.0001 with [−0.0057, +0.0059]. The longer-range law-type comparison comes closest to detecting a gain. The paper reports that 94.9 percent of its bootstrap resamples favor removal, and the interval includes zero. Its score with the shorter range is nearly unchanged from the reference.

This sensitivity check addresses a specific possibility. A broader task-specific list might bring in words whose small estimated gains were noisy or whose useful contributions overlapped. Requiring a larger measured improvement gives a smaller set a chance to perform by itself. The largest more favorable point estimates occur with trigrams, and the intervals still allow no improvement. The change in selection threshold therefore leaves the practical result of the holdout evaluation intact.

What the ablations show

A search can be exhaustive and still find a thin tail

The average single-word deletion changes training cross-validated weighted F1 by −0.000396 for ideology and −0.000128 for law type. The standard deviations across candidate words are 0.000605 and 0.000170, respectively. Both distributions concentrate near zero, with negatives more common than positives. On ideology, 24.5 percent of candidates raise F1 at all in the original run. On law type, 21.9 percent do so. Most of the increases are small enough to fall below the screening cutoff.

Only 0.42 percent of the ideology pool and 0.51 percent of the law-type pool enter the main lists. The extremes illustrate the range of measured outcomes within those distributions. For ideology, removing be produces the largest measured individual gain, +0.002150 in cross-validated weighted F1, while removing petitioner gives the largest loss, −0.003928. For law type, the corresponding extremes are +0.001305 for removing fourteenth and −0.001111 for removing clause. These are scores for words removed individually on the original training folds. The extremes describe that search and carry the same dependence on fold assignment as the other measurements.

A single number per word compresses several effects into one. Removing and in the ideology search raises cross-validated weighted F1 by 0.0019. Its deletion turns cruel and unusual punishment into the available trigram cruel unusual punishment, and the paper shows a similar change for keep and bear arms and unreasonable search and seizure. The intact trigram representation can contain fragments of these expressions. It cannot place all of the surviving content words in the same feature until a token is removed. This is a concrete gain in representational reach under the chosen range.

Removing or in the same search changes ideology F1 by −0.0019. Dickinson highlights the contrast because the conjunctions look similar by several familiar criteria. They have similar frequency, share a grammatical role, and appear on the generic lists. Yet the phrases that their removal creates and breaks differ. When both conjunctions are stripped, the features can no longer preserve the distinction between the two Privileges clauses through their names. The examples establish a mechanism by which deletion can change what is measured. The overall F1 for either conjunction incorporates its occurrences throughout the corpus, so the examples are illustrations of the mechanism instead of a numerical attribution of that word’s score to particular phrases.

Many apparent gains belong to the same opinions

The first comparison starts from the sums of the individual gains. The selected words for ideology sum to +0.1066 in three-fold cross-validated weighted F1 change, and the law-type words sum to +0.0568. Each term in a sum is the outcome of an independent intervention in the sense that it removes just its own word from intact text. Each is nevertheless scored on the same opinions. Adding them treats the resulting gains as if they were contributions to a single list. To find out how the list actually behaves there, Dickinson fits the joint deletion on those same training folds.

On ideology, joint removal yields +0.0083 in cross-validated weighted F1. On law type, it yields +0.0026. The paper reports that the difference between the sum and the joint score on the same folds accounts for 94.2 percent of the gap between the sum and the holdout result on ideology and 95.6 percent on law type. The portions that arise between scoring the joint list on the selection folds and scoring it on the holdout are 5.8 percent and 4.4 percent. Most of the apparent gain had thus already disappeared by the time the finished list was assessed on the familiar folds.

The study tracks changes in individual predictions to see how this happens. For each selected word, Dickinson compares out-of-fold predictions from the pipeline with that word deleted with those from the intact reference. A flip is an opinion assigned a different label by the two conditions. A flip is a gain if the deletion corrects an initial error, and a loss if it turns an initial correct prediction into an error. The procedure gives a way to distinguish a list whose members affect many different opinions from one whose members repeatedly affect a smaller pool.

The 78 ideology deletions produce 2,890 flips spread over 330 distinct training opinions, or 8.76 per affected opinion. For the 95 law-type deletions, 775 flips occur across 89 opinions, or 8.71 per affected opinion. Counting gains alone, ideology has 1,814 corrections over 180 distinct opinions. The reported ratio is 10.08 corrections per opinion reached by a helpful flip. For law type the corresponding ratio is 11.45, and the union of gains covers 49 opinions from the 6,301 training cases. Repeated corrections are therefore present even when the tally leaves out the predictions that became worse.

The overlap is concentrated within that already small pool. For ideology, fifty opinions account for 71 percent of flips, and one changes classification in 74 of the 78 separate experiments. For law type, ten opinions account for 59 percent, and one changes in 76 of the 95 experiments. If different deletions correct the same decision in separate fits, the individual scores can each register the correction. When the whole list is used, that decision receives just one prediction. This explains why a long list of apparently helpful deletions can have a small combined payoff.

For the selected words, net flips track the change in F1 very closely. The correlation is 0.9972 for ideology and 0.9983 for law type on the ablation folds. The reported association between F1 and a net flip is 0.000144 F1 for ideology and 0.000164 for law type. Dickinson uses these numbers as practical measures of the resolution of the deletion experiment. Weighted F1 depends on the classes and the pattern of correct and incorrect predictions. In these runs, the near-linear relationship nevertheless shows why the smallest score differences are difficult to rank. Several apparently distinct word effects can reflect the same small shift in the number of opinions on either side of the classification boundary.

The overlap is evidence about the lists that were actually built. Dickinson also reports that the joint deletions appear to affect some opinions outside the set reached by individual deletions, as inferred from the joint scores and the estimated change per net flip. Feature weights and available n-grams are recomputed for the entire list, so its actions need not be restricted to repeating what its members did separately. The non-additivity result explains the tested lists’ shortfall while leaving room for other behavior under joint removal.

Repeating the measurements changes which words look useful

A separate analysis asks how stable the individual effects are when the division of opinions into folds changes. In the random samples of training vocabulary, the correlation between the two measurements is 0.0477 for ideology, with a 95% interval of [−0.0659, +0.1600], and 0.0058 for law type, with an interval of [−0.1075, +0.1190]. On the paper’s decomposition, estimated noise accounts for nearly all of the observed spread in those samples. The observed and estimated noise standard deviations are 0.000549 and 0.000536 for ideology, and 0.000155 and 0.000154 for law type, all in cross-validated weighted F1 change.

The estimated standard deviations of stable effects in the same samples are 0.000120 for ideology and 0.000012 for law type. Their upper 95% confidence limits are 0.000220 and 0.000053. For law type, even the upper limit remains below the reported change associated with a net flip. Ideology is less clear. The random sample’s point estimate is small on the same scale, while the upper limit crosses it. The paper adopts the reading that the stable variation across typical ideology words is small, relying on the random sample as its designated estimate of the vocabulary and on the corroborating frequency-stratified analysis. Its discussion also acknowledges that the intervals leave the ideology spread less firmly resolved.

The frequency comparison helps distinguish a wider spread of measurements from a wider spread of effects. On law type, the most frequent fifth in the stratified sample has an observed standard deviation of 0.000233, above the reported range of 0.000145 to 0.000172 for the other fifths. The paper anticipated that the wider spread might reflect real differences among common words. The retest correlation in the most frequent fifth is −0.3270. Dickinson interprets the pattern as evidence of shared measurement error. Common words can appear in the same difficult opinions, so a change in how folds divide those opinions can move several deletion estimates together in a given run and reverse their relative standing in another. Dependence among those words also makes the nominal correlation interval for the frequency-stratified group too narrow in the paper’s account.

The words selected for the lists provide a direct look at the effect of picking winners in the original run. Each retest uses its own intact reference score, so Dickinson estimates a common shift using words outside the selected lists. This adjustment is meant to distinguish a general movement between runs from a change particular to the chosen words. The reported run-level offsets are +0.000803 in ideology and +0.000034 in law type, in units of cross-validated weighted F1 change. After subtraction of those offsets, the sums of the selected words’ second measurements are −0.0303 and −0.0322, respectively. Before adjustment they are +0.0323 and −0.0290. The ideology offset matters to the interpretation of the retest in a way that the smaller law-type offset does not.

In the retest, 74 of the 78 selected ideology words fall below the cutoff that originally admitted them, and 59 are at or below zero. All 95 selected law-type words fall below their original threshold, and 88 are at or below zero. A favorable initial estimate could reflect a persistent improvement, favorable fold assignment, or both. Because the selection rule favors high initial estimates, it brings the favorable errors along with any stable effects. This analysis and the joint deletion comparison answer different questions. One asks whether the initial scores recur for the same individual words. The other asks how the scores combine even if the original fold assignment is left in place.

Word statistics have little stable variation to explain

The supplemental prediction exercise asks whether a word’s measured deletion effect can be anticipated from characteristics that might guide a researcher choosing a stoplist. The observations for this exercise are words. There are 18,574 for ideology and 18,556 for law type. The ablation pools each contain one more token because the token null was read as a missing value in the separate calculation of word statistics. Its removal was measured in the ablation, but the predictor values required for this exercise were unavailable.

Several of the nine statistics describe how words are distributed or what appears around them. To calculate a word’s burstiness, divide its total occurrences by the number of opinions in which it appears. The inverse-document-frequency residual compares its spread across opinions with what a chance account based on total frequency would predict. Branching entropy records how varied the immediate neighbors are on both sides. Together these statistics describe whether occurrences are spread widely, concentrated in some opinions, or associated with varied surroundings.

Other statistics measure a word’s relationship to labels or to the reference classifier. Class mutual information asks how informative word presence is about the assigned class. The magnitude of the unigram coefficient captures the size of the reference weight for the word itself, and the aggregate n-gram coefficient summarizes the size of the weights for the pairs and trigrams containing it. The near-margin mean averages how far the estimated class probabilities for opinions containing that word are from one half. This indicates whether a word tends to occur in opinions that the reference classifier finds relatively hard to call.

The remaining statistics describe potential bridges. Using pointwise mutual information, a measure of how strongly words are associated relative to chance, the bigram disruption score compares the association of neighbors brought together by a deletion with associations involving the original word. The trigram counterpart considers positions inside four-word sequences, where skipping a word can create a trigram. These inputs are more specific than an expert’s general impression that a word seems common or dispensable. They still describe candidate words individually, while applying a list changes many sequences at the same time.

The paper fits gradient-boosted decision trees using these statistics. The trees are added successively to address errors left by the preceding fit, with five hundred trees of depth four and a learning rate of 0.05. One fit predicts the numerical change in F1. The other fits only the top and bottom quarters of the measured deletion effects and attempts to rank words in the favorable quarter above those in the unfavorable one. Predictions are scored out of fold across five partitions of words. The original measurements of deletion effects come from folds of opinions. Holding out words here tests whether the relationships learned from their statistics apply to other candidate words.

For the numerical predictions, the paper uses R², which compares errors with those from predicting the average observed change. Ideology has an out-of-fold R² of −0.0067, and law type has +0.0380. For the ranking task, AUC measures the ability to give a randomly selected top-quarter word a higher score than a randomly selected bottom-quarter word. The out-of-fold AUC is 0.5038 for ideology and 0.5370 for law type. The former is close to chance, and the latter shows only weak separation. Discarding the middle half of the words gives the ranking exercise more distinct measured outcomes to work with, and the results remain close to chance.

The retest supplies the basis for the paper’s interpretation. If much of the observed difference between words disappears when the folds change, statistics measured for the words have little stable variation to recover. Law type offers especially clear evidence of small stable dispersion on the scale of a changed prediction. The ideology evidence supports the same reading with greater uncertainty. A poor fit in this exercise therefore gives little leverage on whether the statistics might help in a setting where removal effects vary more. Even a successful predictor of single-word effects would face the further problem that words with good scores can act on the same opinions when selected together.

Limitations

Limits stated by the paper

The search tests each eligible word individually, then evaluates combinations formed by the selection rule. It leaves out a search that deliberately scores pairs or larger subsets. A combination could change the features and predictions in a way that none of its members would on its own. The overlap analysis explains the performance of the lists Dickinson obtained. It places no general upper bound on what a search designed to find useful interactions might achieve. The paper treats such a search as an open extension.

The holdouts are also too small to resolve some changes of practical interest. For the main task-specific lists, Dickinson describes the uncertainty as roughly ±0.015 F1 for ideology and ±0.008 for law type. The result is a lack of a detectable gain at the study’s scale. An effect consistent with the confidence intervals could matter in a particular application, especially if the study’s objective placed great weight on a subset of opinions. The decision to favor intact text by default rests on the combination of uncertain benefits and the concrete costs of adding a preprocessing step, choosing a list, and changing the available features.

The comparisons use a single family of representations and a logistic-regression classifier. Naive Bayes classifiers, tree ensembles, and support vector machines are the three alternatives the paper identifies as potentially responding differently. It treats sparse n-grams as a favorable place to look for an advantage from bridging, because joining nearby words directly changes which sequences can be represented. That rationale gives the test a clear scope. It establishes how deletion behaved under these settings, with other classifiers and representations left open.

Finally, the observations are majority opinions from a distinctive court, and both tasks are binary. The paper names legislative and regulatory text as settings in which a similar interaction between connectives and content words could be studied. It also suggests the Supreme Court Database’s fourteen issue areas as a possible multiclass outcome with greater room for improvement. These are extensions the paper proposes. The two tested targets vary in baseline performance within the Supreme Court setup and leave broader variation in genre, labels, and task structure unmeasured.

Further qualifications apparent from the design

Keeping the holdout stratified by label and term decade helps compare pipelines on a reserved sample drawn from the existing corpus. A chronological evaluation would ask a different question about applying a pipeline to a later period. Likewise, a change in drafting practices or a move to another court could change the relationship between familiar words, neighboring phrases, and outcome labels. The reported estimates pertain to the reserved opinions from this corpus. The same is true of the particular class proportions underlying weighted F1.

The search’s definition of a candidate is also tied to the intact baseline. Exhaustiveness means that every qualifying unigram in that vocabulary was tested under the primary n-gram range. The cap and document-frequency rule determine the search’s starting vocabulary, and the letters-only rule further constrains what the finished list can contain. Reusing the selected list under (1,2) provides a comparison of how that list works with shorter features. A search that chose words expressly for the shorter range would answer a separate question.

The score and the examples also speak to different kinds of validity. Aggregate weighted F1 measures recovery of the database labels, giving more influence to the more prevalent class. It does not say which legal expressions survived intact or how consistently a given doctrine is recognized. The Privileges-clause example supplies a concrete representational consequence of deleting conjunctions. The study does not estimate a corpus-wide rate of doctrinal distinctions lost or quantify how such losses would alter a substantive inference about judicial behavior. The case for attending to that danger comes from how the feature transformation works and from the role researchers assign to feature weights.

There is a related boundary to the phrase-length comparison. Extending the range changes the full vocabulary of available features, including intact trigrams and newly adjacent sequences. The altered deletion effects across ranges support Dickinson’s account of bridging, and the phrase examples show that bridging occurs. The contrast does not isolate a separate causal contribution from each newly created trigram. It reflects the net result of refitting when many features can appear, disappear, or take different weights.

The paper extends its methodological argument to practices such as stemming, lemmatization, and minimum document-frequency cutoffs. Merging related word forms can merge their phrases, and excluding rare terms can remove sequences that contain them. The same experimental logic could assess those transformations against a held-out objective. Their utility remains an empirical question. The evidence here concerns word deletion, with the broader contribution consisting of a way to evaluate a preprocessing step whose downstream effect is otherwise assumed.

What came after

No later citing work is documented here. Dickinson identifies three directions for follow-up in the paper itself. A search over combinations could select words for the gain their joint removal produces, directly testing interactions missed by the individual ablations. A multiclass task based on the Supreme Court Database’s issue areas could examine removal under a different prediction target. Applying the same procedure to legislative or regulatory text would test how the balance between newly available phrases and lost distinctions changes with the genre. These are proposed extensions, and the reported evidence ends with the Supreme Court opinion experiments.

Cite

Cite as Gregory M. Dickinson. 2026. Stop Removing Stopwords: How an Inherited Preprocessing Default Distorts Legal Text-as-Data. arXiv:2609.19153.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2609.19153 · arXiv 2609.19153

@misc{dickinson2026stop,
  title = {{Stop Removing Stopwords: How an Inherited Preprocessing Default Distorts Legal Text-as-Data}},
  author = {Gregory M. Dickinson},
  year = {2026},
  doi = {10.48550/arxiv.2609.19153},
  eprint = {2609.19153},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2609.19153}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/dickinson-2026-stop-removing-stopwords-inherited-preprocessing/