Elamur Research

Stanza: A Python Natural Language Processing Toolkit for Many Human Languages

Paper · 2020 · Peng Qi, Yuhao Zhang, Yuhui Zhang et al.

Summary

Before a program can identify the subject of a sentence or pick out the name of an organization, it needs to know what units it is working with. Those units can be surprisingly hard to find. The same written form can represent a single word in one sentence and several grammatical words in another. The boundaries between sentences also have to be inferred from the text. Stanza is an open-source Python toolkit for natural language processing that starts with these decisions and carries their results into later stages of linguistic annotation. The authors release trained processors covering 66 languages, using a common design that can be trained on different collections of text.

Stanza starts with tokenization and sentence splitting. A single component reads characters in context and identifies token and sentence boundaries, marking tokens that need to be expanded into grammatical words. The pipeline then assigns part-of-speech tags and features of morphology, such as number, and performs lemmatization, which recovers the canonical form of a word. Dependency parsing identifies the grammatical head of each word and the relationship between them. Named entity recognition identifies mentions such as people and organizations. The pipeline returns its annotations in ordinary Python objects. A separate client connects Python programs to Stanford CoreNLP for tasks such as coreference resolution, which links mentions of the same thing, and relation extraction, which identifies relationships expressed in text.

The evaluation covers 112 datasets, including 100 Universal Dependencies treebanks, or collections of sentences annotated for grammatical structure. Where comparable releases were available on the major languages selected for direct comparison, Stanza led on most reported Universal Dependencies scores against UDPipe and spaCy. Its scores on the named entity tests were higher than or close to Flair’s and generally well ahead of spaCy’s under the reported training conditions. Stanza took substantially longer than spaCy to annotate text, although it compared favorably in speed with toolkits of similar accuracy, especially with GPU acceleration. Taken together, the results show that the same pipeline design and training settings can support strong results across many separately trained datasets. The breadth of the tests matters because the paper’s central question is whether the design can carry over from one language and annotation collection to another.

Deep dive: Stanza: A Python Natural Language Processing Toolkit for Many Human Languages

Stanza brings multilingual text analysis to Python, with a shared design for finding words, analyzing grammar, and recognizing names. · about 67 minutes to read

The problem and its context

What it takes to start from a text string

Suppose a program is given a sentence and asked to identify its grammatical subject. To answer, it needs to decide where the sentence begins and ends, find the units to analyze within it, and determine which units participate in the relevant grammatical relationship. A corpus prepared for syntactic research may already supply the sentence and word boundaries. An application that accepts text in the form in which people write it has to obtain those boundaries somewhere. Stanza puts that work inside the same toolkit as the grammatical analysis.

The distinction matters because a boundary can decide what a later component has the opportunity to predict. Consider the German example used in the authors’ demonstration. The input contains am as a single written token. The grammatical analysis treats it as an and dem. A program working only with the written span has a single unit to label. A program working with the expanded words can assign grammatical information to each of them. Each view describes something the user may need. One says what characters appeared together in the input. The other says what units play a role in the sentence’s grammar.

The French example in the paper adds a further complication. The written form des can be interpreted as de and les in one context and remain a single grammatical word in another. The spelling gives the same input to a lookup procedure in both cases. A process that considers the surrounding text has evidence for deciding which interpretation to use. This makes word segmentation a question about language in context even when a plausible boundary around the printed token is already available. It also explains why a toolkit built to analyze many languages would take special care over the transition from characters to grammatical words.

The authors describe open-source toolkits as already making it easier to add linguistic analysis to applications. The gap they identify is that the available systems frequently require a compromise in language coverage, annotation accuracy, or the work an application has to do before it can call them. Some accept text that has already been segmented or given linguistic labels. That arrangement can be convenient for a specific benchmark or for research on an isolated component. An application that starts with text from varied sources then needs an additional way to supply the annotations that the component expects.

Once separately obtained annotations are passed between tools, the application needs to know what each one regards as a token, a word, or a sentence. That is a practical concern even before comparing how frequently the tools make correct predictions. A tag attached to a surface token and a tag attached to a grammatical word can both be valid outputs while describing different units. Stanza’s authors define the units explicitly and give the pipeline a way to retain their relationship. This makes the ability to accept raw text a design requirement for the entire pipeline, including its output representation.

Why coverage and accuracy were joint goals

The paper places Stanza alongside systems that users already relied on, including CoreNLP, Flair, spaCy, and UDPipe. It describes limitations found among existing toolkits without treating them as identical. The authors point to a tendency to concentrate on major languages, to a preference for speed in some systems, and to the use of less powerful prediction methods in others. They cite spaCy as an example of attention to efficiency and CoreNLP as an example in their discussion of accuracy. The paper also values CoreNLP’s broad set of annotation tasks, especially for English, and uses it to extend what Python users can access through Stanza.

Coverage concerns which texts a user can process at all. Accuracy concerns whether the resulting analyses are sound enough for what the user wants to do with them. The paper gives both concerns weight because annotations frequently become input to other work. A grammatical analysis can shape which words a program treats as related. A set of entity annotations can determine which passages a later process regards as referring to a person or an organization. Errors in the first analysis can therefore change the material available to a later system or the patterns a researcher sees in the results.

Multilingual coverage has an architectural cost if each additional language calls for a different procedure. The paper’s response is to describe common operations at a level that is meaningful across languages. Characters can be examined for boundaries. Syntactic words can be annotated with grammatical categories. A dependency parser can assess which word serves as another’s head. The form of these decisions can be shared even though the clues to them differ. A given sequence of characters, a particular word order, or a tag found in one corpus may offer little help when transferred directly to another.

This is where multilingual natural language processing takes a specific form in Stanza. The authors aim to reuse the design of the components as they train on different annotated datasets. Shared architecture specifies the kinds of evidence a component can use and the sort of answer it produces. Training supplies the information needed to make that decision for a particular language or corpus. For a user, the corresponding distinction is between a shared Python interface and the language-specific resources loaded for a run. One can stay familiar while the other changes with the material being analyzed.

The grammar side of Stanza uses an annotation convention that already supports comparison across languages. The Universal Dependencies treebank collection supplies examples of grammatical words, categories, features, and dependency structures organized according to shared conventions. The convention still leaves room for categories specific to a treebank. Stanza predicts both common and local labels where the data call for them. That combination helps explain why a multilingual toolkit can expose a common kind of result while retaining information distinctive to a particular collection.

The research building blocks and the software around them

The paper draws heavily on earlier work for the internal design. Its description of the grammar pipeline refers readers to Universal Dependency Parsing from Scratch. That earlier work is also the source the authors cite for evidence about the parser’s use of word order and distance. The CoNLL 2018 Shared Task supplies evaluation infrastructure and pretrained lexical representations used in the Stanza experiments. Its framing of multilingual parsing from raw text is closely aligned with the path Stanza exposes to users, from an ordinary string to a dependency analysis.

Other prior work supplies methods for making specific predictions. Stanza uses deep biaffine attention in its dependency parser and draws on biaffine scoring to connect the outputs of its grammatical tagger. Its entity recognizer adopts contextual string embeddings, which represent a word using information about the character sequence in which it occurs. The paper’s contribution is clearest when these pieces are seen in relation to one another. They support different annotation tasks, but the toolkit enables users to obtain their outputs through a coordinated processing path.

The authors also identify a practical barrier around earlier Stanford software. CoreNLP already offered analysis beyond the tasks included in Stanza’s own pipeline, but its implementation was in Java and the authors describe the absence of official Python support as a difficulty for Python users. CoreNLP’s server interface offered a way to reuse that functionality. Stanza therefore includes a client that can start a server process and translate the responses into objects a Python program can consume. For tasks such as linking a name and a pronoun, the processing still takes place in CoreNLP.

This gives the toolkit two ways to address accessibility. Its own pipeline brings a set of trainable processors under a common implementation and distribution scheme. The client makes an established set of Java annotators reachable through Python. One design problem concerns how to implement and train analysis across datasets. The other concerns how to expose existing analysis without making each application manage the communication itself. The two are useful together because the range of tasks an application needs can be wider than the range covered by the native pipeline.

There is a similar distinction between the work of developing an annotation method and the work of making it usable across many datasets. A parser can be studied in terms of its scoring procedure and its test results. A toolkit also needs to make the trained resources available, allow users to select the processors they require, and return results in a form that subsequent code can inspect. Stanza’s paper treats those details as part of the research contribution. They determine whether a common architecture becomes software that users can apply to varied text, and whether they can tell how the resulting annotations relate to the original input.

The method, step by step

From characters to document annotations

The native pipeline starts with text and ends with a Document. Between them, different processors make predictions about different units. The tokenizer looks at characters. Grammatical processors work on words within sentences, including words obtained by expanding a written token. The entity recognizer uses context to assign sequence tags that together identify mentions. The Document gives a Python program access to the related outputs. The flow below follows the main operations of the pipeline, with syntactic analysis and entity recognition both appearing among the annotations it can produce.

How Stanza turns raw text into annotations

The steps in order.

How Stanza turns raw text into annotationsStep 1: Read the input as a character sequence1. Read the input as a character sequenceStep 2: Find tokens and sentence boundaries together2. Find tokens and sentence boundaries togetherStep 3: Expand marked tokens into syntactic words3. Expand marked tokens into syntactic wordsStep 4: Assign parts of speech and morphological features4. Assign parts of speech and morphological featuresStep 5: Recover the canonical forms of words5. Recover the canonical forms of wordsStep 6: Identify grammatical heads and dependency relations6. Identify grammatical heads and dependency relationsStep 7: Recognize named entities in the sentences7. Recognize named entities in the sentencesStep 8: Return the annotations as Python objects8. Return the annotations as Python objects

The first distinction to follow through this diagram is between a token and a syntactic word. A token is a continuous stretch of the input characters. A syntactic word is a unit the grammatical analysis can label and connect to other units. Most of the time the same stretch can serve both purposes. When the tokenizer marks a multi-word token, the following processor supplies the grammatical words corresponding to that stretch. A part-of-speech description or a dependency analysis can then talk about the expanded words, while the token still refers to the form as it appeared in the text.

The second distinction is between a processor and the pipeline as a whole. A processor has a particular prediction job, such as identifying boundaries or choosing lemmas. The pipeline runs the selected processors and organizes their annotations. The authors reuse basic neural designs where the tasks admit similar solutions. They also keep the output of each task identifiable. A word’s grammatical category and its canonical form are separate pieces of information even when both help a person understand the same sentence. This structure makes it possible to use the toolkit for a chosen subset of analyses.

Finding token and sentence boundaries together

The input to the first processor is a character sequence. The processor predicts boundary information at character positions, including whether a character ends a token or a sentence and whether it ends a token that will need expansion. A user can think of these predictions as instructions for grouping the text. A token boundary closes a written span. A sentence boundary closes the current group of tokens. An expansion mark says that the grammatical units will be obtained in a further step.

This approach puts tokenization and sentence splitting in a single component. The paper contrasts that arrangement with the practice of handling the operations separately in many existing toolkits. Each decision concerns the organization of the same character sequence, although its effect is different. A token boundary changes which characters a lexical unit contains. A sentence boundary changes which tokens later processors consider together. Identifying both gives the pipeline a set of sentences in which the grammatical and entity analyses can operate.

The paper also includes the multi-word decision in this stage because it can depend on context. In its French illustration, both occurrences of des can already be seen as tokens in the input. The further question is whether each token stands for a single grammatical word. The first occurrence in the figure is marked for expansion, producing de and les. The second is treated as a word in its own right. The context-sensitive task is choosing which occurrence to mark. Supplying de and les after an occurrence has been marked is a distinct task.

Working at the character level lets the component look for boundaries without requiring an earlier word tokenization. That property is what allows the raw-text interface to begin where it does. It also clarifies what a trained boundary predictor needs to learn from its annotations. The signal is about the placement and type of boundaries in actual strings. The same formulation can be used for different languages even when their writing and segmentation conventions give the predictor different evidence to rely on.

There is a practical consequence to locating sentence boundaries this early. The grammar and entity components described in the paper do their work within sentences. If a sentence is divided in the wrong place, its later analyses are based on the groups produced by that decision. If grammatical units are assigned the wrong span or expansion status, the later components receive a correspondingly different set of words. Starting from raw text makes the pipeline useful without a separately prepared input. It also makes the quality of those initial predictions part of the quality of the resulting annotations.

Expanding the written token into grammatical words

The multi-word token expander operates on the tokens marked for expansion. It combines a frequency lexicon and a neural sequence-to-sequence component. The lexicon captures expansions observed in the annotated training material, with frequency indicating which outputs the material supports most strongly. The sequence-to-sequence component learns a mapping from an input sequence to an output sequence, giving the processor a way to produce an expansion for forms beyond those for which it has reliable stored entries. The design gives repeatedly observed cases a stable route through the pipeline while retaining coverage for unfamiliar ones.

The German am is a concrete example of what expansion produces. The demonstration shows it corresponding to an and dem. Reading the output as a simple cut at a position in the original token would miss what the expansion does. The resulting grammatical forms need to be supplied, and the result needs to preserve their association with the original span. This is why the tokenizer’s job can end with a mark, while the expander’s job is to recover the word sequence expected by the annotation scheme.

A two-stage treatment also helps interpret errors. When an occurrence of des should expand, the boundary processor first has to recognize that requirement. The expander then has to give the right words. The training lexicon can help with the latter even when the correct decision in the former depends on context. Conversely, a correctly identified multi-word token still needs an accurate expansion. The paper assigns evidence from the surrounding text and evidence from previously observed expansions to these different decisions.

The expander changes the number and identity of the units presented for grammatical annotation. In the German example, the tagger can assign information to an and dem separately, and the parser can evaluate their places in the sentence. The output hierarchy still records the single input token. This preserves the difference between the evidence visible in the original string and the structure proposed by the pipeline. A user inspecting the annotation can see why there are more grammatical units than the original spelling alone might suggest.

Assigning grammatical categories and features

For each word within a sentence, the grammatical tagger predicts a universal part of speech, a treebank-specific part of speech where applicable, and universal morphological features. The universal part of speech, abbreviated UPOS, describes the grammatical category using the shared inventory. XPOS is the classification defined by the individual treebank. UFeats are attributes such as singular or plural number and grammatical person. A category answers what grammatical kind of word the processor has identified. The features describe aspects of the particular form in context.

A treebank-specific tag lets an annotation preserve distinctions in the source data. A universal tag gives users a common field to work with across treebanks. A feature can add information that a category alone leaves open. The architecture needs to accommodate the fact that these decisions concern the same word and can constrain one another. Stanza makes the XPOS and UFeats predictions depend on UPOS through a biaffine scoring mechanism. In ordinary terms, that scoring arrangement allows the system’s assessment of a detailed tag or feature to take account of the predicted broad category.

The contextual representation comes from a bidirectional long short-term memory network, or Bi-LSTM. It processes the sequence in opposite directions so that the information available at a word position can reflect material on either side. In a sentence, a form may have more than one possible category or set of features when considered alone. The bidirectional design gives the tagger a way to use its surrounding words when choosing among those possibilities. The biaffine mechanism plays a different role. It lets the prediction for one annotation field inform the scoring of the others.

The order of decisions matters when describing this conditioning. The shared part of speech is the prediction the other fields are conditioned on. The paper does not equate all the outputs or treat their inventories as interchangeable. A treebank category and a universal category belong to different labeling systems, and morphological features convey a different kind of information from either. The component brings those outputs into a relationship without collapsing them into a single field. That is the sense in which its design aims for consistency.

The paper’s architecture description gives the relation among the tasks and identifies the kind of scoring used. It refers to its earlier sources for mathematical and implementation details. The difference is worth preserving when interpreting the method. The account establishes which prediction conditions which, and the use of a bidirectional sequence encoder. A full specification of the scoring parameters or how ambiguous intermediate predictions are represented would require details beyond that architectural description.

Recovering the dictionary form

A lemma is the canonical form used to represent a word across its inflected forms. The paper uses the following example.

did → do

Here did is the word form encountered in the text. The arrow indicates the mapping performed by the lemmatizer. do is the lemma returned for that form. The mapping adds a separate annotation to the word. Its surface form remains available in the document, and grammatical information can still describe how the word was used in the sentence.

Like the expander, the lemmatizer combines a stored resource with a sequence-to-sequence component. The dictionary supplies entries learned from annotated examples. The neural component can predict a canonical form when the input calls for a mapping beyond those directly supplied by the dictionary. The designs are similar because both tasks map a written sequence to another sequence. The target is different in each case. Expansion recovers the constituent words represented by a token. Lemmatization supplies one canonical form for the word being analyzed.

The lemmatizer has an additional decision available besides generating an output sequence. A classifier reads the output of the sequence encoder and can select a shortcut, such as converting the input to lower-case or copying it unchanged. The encoder is the part that builds a representation of the input. The classifier uses that representation to decide whether a simple operation is appropriate. Copying and lowercasing specify the resulting form directly, so where a shortcut applies the processor can avoid having to reproduce the form through a general sequence generation procedure.

The paper motivates the shortcuts with the problems posed by long inputs, including URLs. If a long input is to remain unchanged, generating its characters as an output sequence makes the component reconstruct material it already has. A copy decision instead acts on the actual input string. Lowercasing similarly defines a direct transformation when case is the relevant difference. The availability of shortcuts is a design choice about the kinds of output that can be produced reliably. The paper’s architecture description does not quantify how frequently these routes are selected.

Lemmatization and tagging thus answer distinct questions about each word. The category and features describe an occurrence in the sentence, while its lemma identifies a canonical form associated with it. In the example, recovering do leaves did available to any code that needs the original wording. This matters when using annotations for further analysis. A user can aggregate occurrences by lemma and retain access to the grammatical and surface distinctions that would disappear if the input were simply rewritten.

Building a dependency structure

The dependency parser describes the sentence by assigning each word a syntactic head. For most words the head is another word in the same sentence. The sentence’s root word is attached to a special artificial root. The artificial root gives the parser a representation for the top of the structure distinct from the words in the input. Dependency labels describe the grammatical relationship of a word to its head. The result identifies how the sentence is organized as a structure, in addition to assigning categories to its individual units.

The parser uses a bidirectional long short-term memory encoder and deep biaffine scoring. The encoder represents a word in the context of its sentence. The scoring procedure assesses relationships between representations, so evidence about a possible head can be considered together with evidence about the word that would attach to it. This interaction is appropriate for a decision about a pair of words. The category and form of a single word can give the parser clues, while the attachment decision depends on where a plausible head is and how the surrounding sentence is organized.

Stanza’s parser adds predictions about relative order and distance. The order prediction concerns which of the two words is expected to come first in the language under analysis. The distance prediction concerns how far apart the words would usually be in linear order. Two candidate heads may be on the same side of a word, making direction the same for both, while lying at different distances. Conversely, candidates at similar distances may lie on opposite sides. The additional predictions bring both kinds of information to the scoring of an attachment.

These features concern expectations learned from data. The parser knows the observed order of the words it is processing. Learning what order and distance are typical supplies evidence about whether an observed arrangement fits a particular attachment. An unusual distance alone does not settle the analysis. The component can combine positional evidence with the representations of the words and their context. This allows the same design to incorporate different patterns of ordering when trained on different treebanks.

The distinction between a token and a word becomes especially concrete here. The parser assigns a head to a grammatical word, including a word supplied by expansion. It can therefore analyze the words represented by am separately while the output still shows that they came from the same token. Similarly, sentence segmentation determines the group in which possible heads are considered. The representation produced by parsing rests on earlier decisions about exactly which words the sentence contains. It makes those decisions consequential even for a user interested principally in syntax.

The paper cites the authors’ earlier parsing work for evidence that adding order and distance improved parsing. The description of Stanza carries those design choices into the toolkit. The architecture account itself specifies the kinds of predictions added and why they are relevant to attachment. It does not supply a new comparison of versions of the parser with the two features separately removed.

Recognizing names from context

The entity recognizer locates mentions of named things and assigns their types. People and organizations are the paper’s examples. The decision is about a span of text in a sentence. Assigning a label to a word is part of forming that span, especially when successive words belong to one mention. The method the authors adopt represents a word using the characters around its position and then decodes the tags for the sentence as a sequence.

The authors begin by using long short-term memory networks to train one character-level predictor in the forward direction and another in the backward direction. The forward predictor learns from character sequences in the reading direction. The backward predictor works in the opposite direction. Learning to predict characters builds representations in which nearby material can influence the signal available at a word boundary. The representation taken from each direction can therefore carry information about the word in the context in which it actually appears.

During entity tagging, the recognizer takes the corresponding character representations at the word position and joins them with a word embedding, a vector representation of the word. Joining the vectors means that each source contributes its own part of the input to the tagger. The embedding supplies word-level information. The directional character representations add signals obtained from the spelling and surrounding sequence. A representation built in this way can differ across occurrences of the same surface form because the character context differs.

The combined representation goes into a single-layer bidirectional long short-term memory sequence tagger. A conditional random field, abbreviated CRF, decodes the output. The CRF lets the decoder score neighboring tags together. This is pertinent because adjacent decisions can describe different positions within a single entity, or separate entities. Treating the output as a sequence helps the decoder take those relationships into account when choosing the tags that describe the sentence.

There are consequently two places where context contributes. The character predictors supply contextualized inputs to the entity tagger. The tagger and decoder make the final sequence of decisions over the sentence. Pretraining the character predictors and supervising the entity tagger also serve different purposes. The former learns regularities in character sequences from large collections of text. The latter uses annotations that indicate where entities occur and which types to assign. Both kinds of data matter, but the labels used to assess entity recognition come from the annotated corpora.

The entity data use BIO format for custom training. In that notation, B marks the beginning of an entity span, I marks a position inside it after the beginning, and O marks a position outside an entity. The dataset supplies the corresponding types for entity spans. This format makes the sequence nature of the task visible. A span extending over multiple positions is recovered by interpreting their tags together. The test metric described later evaluates the resulting entity predictions, which gives a direct way to judge whether the recovered spans and types match the annotation.

Preparing the grammar training data

The grammar processors are trained on the v2.5 release of Universal Dependencies. The authors selected 100 treebanks with non-copyrighted training data. Each treebank provides annotations for the decisions addressed in the pipeline, from the organization of the text into units through the grammatical structure. Using a shared data format makes it possible to train the same kinds of processors over different collections. At the same time, the annotated examples in each collection determine the particular distinctions and patterns available for learning there.

The authors use training data to fit the processors and development data to make decisions about settings during training and evaluation. Where a treebank lacked a development split, they randomly reserved 20% of its training data for development. That percentage refers to the original training portion of the affected treebank. A held-out test set answers a further question about performance after the training decisions have been made. Keeping the uses of the splits distinct is important when comparing a setting chosen from development results with a score reported on the test material.

The authors tuned hyper-parameters on several large treebanks before applying the selected settings to the other treebanks. Hyper-parameters govern how the training or architecture is configured, while the trained values are learned from the examples. Reusing the hyper-parameters limits the extent to which each treebank requires an individual search for settings. The learned behavior can still differ from corpus to corpus. The training policy gives the shared architecture a concrete meaning beyond using the same software interface.

The UD processors use pretrained lexical vectors. The preferred source was the word2vec release associated with the 2018 UD Shared Task. When those embeddings were unavailable, the authors used fastText. The resources supply initial information about words that the processors can use with their task-specific training data. This choice also shows how a common training recipe can accommodate resources that are unevenly available. The architecture and hyper-parameter policy are shared, and the available vector source can differ.

For users training their own grammar processors, the paper identifies CoNLL-U as the required annotation format. Training and development files need to present the relevant annotation in that format so a processor can read the examples and evaluate its predictions. The paper illustrates the arrangement with a dependency parser trained on user-specified files. It presents the command-line interface as a way to repeat the training process with suitable annotations, complementing the downloadable resources for users who want to process text directly.

Preparing the entity training data

The supervised entity experiments use 12 public datasets covering 8 major languages. The authors follow the established splits for the corpora that provide them. WikiNER lacked canonical splits, so they randomly assigned 70% to training, 15% to development, and 15% to testing. These allocations concern the annotated WikiNER material. They are separate from the training text used to prepare the character predictors and from the development allocation used for treebanks that lacked their own split.

For most of the languages in the entity experiments, character pretraining used text from Common Crawl, Wikipedia dumps, and the news collections released through the WMT19 Shared Task. The authors used different sources for English and Chinese. English used the Google One Billion Word Benchmark, and Chinese used Chinese Gigaword. Those sources give the forward and backward character predictors material from which to learn sequences before their representations are used for entity annotation.

This is a different use of additional data from supplying an annotated training corpus. Entity examples teach the tagger to associate sequences with entity spans and types. Pretraining text teaches the character predictors about the forms and contexts that occur in ordinary text. By joining character representations to word embeddings, the tagger can use that information while still learning its decision from the task labels. The authors apply the same hyper-parameters across the entity languages, even though the supervised corpora and some of the pretraining sources differ.

The variation in sources is important for understanding what has been held fixed. The paper describes a common component design and settings, applied where different training resources are available. The lexical vectors used for UD and the text used for entity pretraining are part of those resources. A single recipe can specify how to use them without requiring the same underlying text. As a consequence, evidence that the recipe works on a collection also reflects the annotations and resources supplied for that collection.

Using the annotations in Python

The class stanza.Pipeline is the entry point for the native annotation system described in the paper. The user specifies a language, and Stanza provides a Python download operation for the associated trained resources. The default pipeline loads and runs its processors together. It can also be initialized with selected processors. The Chinese example illustrates that choice by requesting tokenization, grammatical tagging, and entity recognition. The paper additionally describes initialization settings for individual processors, including batch size, which governs how items are grouped for processing.

After annotation, the returned Document contains sentences and their tokens and words. The user can inspect a word’s text and part of speech, and can access entities at document level. These are separate ways of navigating the output. Iterating over grammatical words follows the units used for syntax. Accessing entities collects recognized mentions without requiring the user to reconstruct them from individual word labels. For expanded tokens the hierarchy retains both the original span and its relation to the words on which the grammatical processors operate.

The authors designed the computing interface to use CUDA devices when the pipeline can see them and to use a CPU otherwise. The initialization settings also allow a user to require CPU execution. The same annotation interface is available in either case. This makes the difference in hardware relevant to execution time while leaving the basic organization of the analysis familiar to an application. The paper evaluates speed separately from the quality of the annotations.

The web demonstration provides another view of the same outputs. Its server performs the annotation and displays it using the Brat annotation interface. The authors select trained resources based on the largest relevant treebank or entity dataset for the available language and annotations. In the German display, the expansion of am is visible alongside the grammatical analysis. Seeing those outputs together illustrates the purpose of keeping tokens and words distinct. A displayed sentence can preserve the written form while making the internal units of grammatical analysis visible to the reader.

Connecting to Java CoreNLP

The CoreNLPClient provides access to a separate system. On initialization it starts a local CoreNLP server process. The Python client sends annotation requests through CoreNLP’s REST interface and receives responses. The usual transfer format described by the authors is Protocol Buffers, which encodes the structured annotations for communication between the Java server and the Python client. The client makes the returned information available as Python objects. The user can also request JSON or XML output.

The client manages the process while it is in use. It checks whether the server is responding and can restart it if needed. The caller can choose annotators supported by CoreNLP through the client interface. The work of annotating the document remains with the server. This arrangement lets the Python program request a richer set of annotations without having to implement the server communication and response handling itself.

The paper illustrates this with an English sentence in which Emily says that she liked a movie. The client can expose the entity mentions and the coreference chains returned for the sentence. A name and a pronoun pose different problems for entity recognition and coreference. The recognizer identifies a mention such as the proper name, while a coreference analysis can connect a later referring expression to the same person. The example shows how both analyses can be retrieved through the client even though coreference is outside the set of processors described for the native pipeline.

The authors report that CoreNLP’s coverage gives the client access to annotation in 6 languages. That figure describes the languages supported through CoreNLP. The native Stanza language coverage is based on the resources separately trained for its own pipeline. The two routes differ in the tasks they supply and the system carrying them out, even though both offer Python access. This distinction lets users understand which component produced a given analysis and keeps the evaluation of Stanza’s own processors separate from the capabilities exposed through Java.

Experiments and results

What the experiments compare

The authors train and evaluate on 112 datasets. That total covers two kinds of evaluation. The grammar experiments use Universal Dependencies treebanks and assess the processors that turn raw text into syntactic annotations. The named entity experiments use separately annotated entity datasets and assess whether the recognizer recovers the entities marked there. Both report F₁, but the predictions being counted and the way the results are combined differ. An entity mention and a grammatical attachment are distinct test units.

There is also a distinction between the breadth of the native pipeline’s evaluation and the breadth of direct comparisons with other toolkits. The authors report Stanza’s grammar results over their full treebank collection. For comparisons against the other grammar toolkits, they select languages for which matching pretrained resources are available. The full evaluation addresses whether Stanza can be trained successfully across varied datasets. The narrower comparison addresses how its scores relate to other toolkits on the available common tests. Keeping the two in view is necessary for judging claims about multilingual coverage and competitive performance.

The grammar benchmarks and the entity benchmarks also involve different choices about baselines. In grammar, availability of the corresponding trained release determines which direct comparisons appear. In entity recognition, the authors retrain systems in specified circumstances to put them on the corpus splits they use. The resulting scores reflect both the design of each toolkit and the training resources and settings of that particular comparison. That is especially important when a baseline’s publicly distributed resources come from a different version of a corpus.

Universal Dependencies test results

The grammar evaluation uses test sets from Universal Dependencies v2.5. Across the 100 treebanks, the authors report macro-averaged results for Stanza. A macro average here summarizes results by giving each treebank equal influence, so the overall value reflects the collection of treebanks rather than being driven directly by the largest test set. A treebank is the unit of averaging. The collection represents 66 languages, largely European ones, and includes languages from several families, among them Indo-European, Afro-Asiatic, Uralic, and Turkic.

The paper uses the official evaluation script from the 2018 UD Shared Task to calculate F₁ for the grammar tests. F₁ combines precision and recall. Precision asks how much of what a system predicted is correct, and recall asks how much of the reference annotation it recovered. Each score needs to be read in relation to the annotation task it measures. Finding the right boundaries, supplying the expected word forms or tags, and recovering grammatical relationships each call for a different kind of prediction.

For parsing, a correct head is part of a correct grammatical relationship. The relation label adds information about how the word depends on that head. Boundary and word predictions are more basic in the sense that they determine which units can participate in those comparisons. Evaluating multiple stages helps a reader see that a pipeline has several opportunities to make good predictions and several places where errors can enter. A macro result for one stage answers a question about performance across treebanks for that annotation. It cannot stand in for the scores on the other annotation tasks.

The comparison uses Stanza v1.0, UDPipe v1.2, and spaCy v2.2. It covers treebanks of 5 major languages, with scores for baselines where the corresponding pretrained resources are available. Stanza posts the strongest result on most of the reported comparisons. This is a result about the selected test treebanks and toolkit releases. It sits alongside the authors’ report of high macro-averaged scores for Stanza across the larger treebank collection, which extends the evidence for the shared design to languages and genres outside the direct comparison.

The two results give complementary information about the training strategy. On the common tests, Stanza’s accuracy is typically strong relative to the alternatives included. On the broader evaluation, a common architecture and hyper-parameter policy yields results the authors regard as strong across a much larger set of annotated collections. This supports the use of a reusable training procedure for many treebanks. The separate resources learned for those treebanks are part of the procedure. The evidence concerns the quality of that design when trained for the datasets under study.

Good performance across a range of treebanks also has a particular meaning for genre. The datasets include text from different genres, and the authors show that the architecture can be trained and evaluated in those settings. A result on a treebank’s own test set reflects performance on its held-out material. It gives a different kind of evidence from training on one genre and deliberately testing on an unrelated genre. The treebank results are most informative as a measure of how broadly the same processing design can be applied with appropriate annotated data.

Named entity test results

The entity comparison uses Stanza v1.0, Flair v0.4.5, and spaCy v2.2 on the 12 datasets covering 8 major languages. The reported metric is entity micro-averaged test F₁. The evaluation pools entity decisions within the test corpus to compute precision and recall. Common entity categories can consequently contribute more decisions to the corpus score than rare categories. The paper also records how many entity types each corpus distinguishes. That information matters because correctly identifying the extent of a mention and correctly choosing among the types in the corpus are both part of the recognition task.

Several corpora have annotation conventions with their own histories. The paper draws on datasets including those associated with the CoNLL-2003 named entity shared task and the CoNLL-2002 named entity shared task. It also cites NoSta-D for German and Arabic Wikipedia named entity annotations among its data sources. Evaluating each corpus separately preserves its annotation inventory and test split. The common metric lets a reader compare systems within each corpus without treating every corpus as if it posed an identical labeling problem.

For spaCy the authors use a public pretrained release where they can find one trained on the same dataset. Otherwise they retrain with the default hyper-parameters, following spaCy’s public training tutorial. The procedure they follow for those retrained recognizers uses no pretrained word embeddings. The authors note that supplying such embeddings could improve spaCy’s results. The table marks the results obtained from matching public releases, which helps distinguish those entries from results produced by retraining.

For Flair, the downloaded resources were trained on dataset versions that differed from the canonical ones used in the comparison. The authors therefore retrain Flair across the dataset splits used in the study, using Flair’s best reported hyper-parameters. The comparison is with a version prepared for the same evaluation rather than with a mixture of different corpus versions. Shared test splits make the F₁ scores comparable as measurements on those test instances, while the details of how the systems were trained remain relevant to interpreting the size of any differences.

The authors find Stanza ahead of or close to Flair on entity test F₁ across the datasets. They report a clearer advantage for Stanza over spaCy under the comparison’s training conditions. The language about Flair matters because it describes competitiveness over the collection rather than a sweep of all tests. It is consistent with the purpose of this part of the study, which asks whether a recognizer distributed as part of a multilingual toolkit can perform in the same range as a strong entity baseline across the available corpora.

The paper also reports that Stanza’s trained entity resources are up to 75% smaller than Flair’s. This is a size comparison, distinct from entity F₁. The authors deliberately compressed the resources to reduce their memory demands and make distribution easier. The phrase “up to” describes the largest reduction the paper reports. The result establishes that the competitive scores can accompany substantially smaller distributed resources in this comparison. It does not give the amount that would be saved for every dataset or isolate the effect of compression on the recognition score.

Size and accuracy describe separate practical properties of a toolkit. A smaller distributed artifact may make it easier to provide trained resources for many datasets. An entity score tells the user how well the corresponding recognizer performed on the annotated test material. The paper’s result is that the two goals were compatible under the configurations evaluated. The training differences among systems and corpora remain part of what the result measures, particularly for comparisons with the spaCy configurations prepared through the tutorial.

Annotation speed on the English test sets

The speed experiment compares the time required to annotate English text. Its grammar workload uses the English EWT treebank test set, and its entity workload uses the OntoNotes NER test set. The authors use spaCy on CPU as the reference for relative runtimes. They give its throughput in tokens per second for each workload. The two figures in the chart therefore describe the same toolkit and device setting on different benchmark workloads. The star marks the larger of those two reference rates.

spaCy CPU reference throughput on English EWT and OntoNotes test sets

The English EWT grammar workload has the higher reported reference throughput.

spaCy CPU reference throughput on English EWT and OntoNotes test setsEnglish EWT UD test workload (this paper): 8140English EWT UD test workload (thispaper)8140OntoNotes NER test workload: 5912OntoNotes NER test workload5912
The numbers
System or settingtokens per second
English EWT UD test workload (this paper)8140
OntoNotes NER test workload5912

The English EWT number measures spaCy’s CPU throughput on the UD workload. The OntoNotes number measures spaCy’s CPU throughput on the entity workload. Their different corpora and annotation tasks are part of the conditions of measurement. The larger rate shows which reference run processed more tokens per second. The chart does not isolate the effect of the annotation task from the effect of the text, since both vary between the workloads. The runtime comparisons in the paper assess each toolkit against the relevant reference for its workload.

For GPU measurements the authors used a single NVIDIA Titan RTX. They find Stanza substantially slower than spaCy overall in the annotation comparisons. They also report that Stanza competes in speed with toolkits producing similar levels of accuracy, particularly with GPU acceleration. These statements describe two different comparisons. spaCy establishes a fast CPU reference for the workloads. The comparison with toolkits of similar accuracy places Stanza among alternatives chosen for a closer match on annotation quality.

The throughput figures belong to the performance of the pipeline on the particular tests. They measure tokens annotated per unit time, while the accuracy experiments measure agreement with test annotations. A user interested in both may care about how much text can be processed and how reliable the annotations are for the intended task. The experiments show why those properties need separate measurements. spaCy has the speed advantage in the authors’ comparison, while Stanza’s scores are generally stronger on the selected grammar comparisons and on the reported entity tests against spaCy.

The resource-size result for named entity recognition measures something different again. Smaller trained resources can help with storage and distribution. The time required to process incoming text also depends on the computations carried out during annotation and on the hardware used for them. The paper gives evidence for both the feasibility of distributing compact entity resources and the practical runtime cost of the native neural pipeline. On the tested datasets, the shared architecture supports high annotation quality across languages, with an execution cost that becomes easier to accommodate when GPU acceleration is available.

What the ablations show

The Stanza paper reports no new ablations and instead offers evidence from an earlier parser study, multilingual benchmark comparisons, and measurements of accuracy, size, and speed for complete toolkit configurations.

Where the evidence for the parser’s extra features comes from

An ablation asks how much a design choice contributes by changing that choice and measuring the result under otherwise comparable conditions. For the dependency parser, the relevant comparison would be between versions that differ in their access to explicitly predicted word order or distance. A comparison against another toolkit cannot answer the same question. The toolkits can differ in how they find words, how they represent a sentence, how they score attachments, and how they are trained. A gain for the whole system is compatible with several explanations for where that gain came from.

The authors attribute the evidence for the parser’s positional features to their earlier work on Universal Dependencies. They say that incorporating order and distance improved parsing accuracy in that study. The Stanza paper identifies the features it inherits and explains their linguistic motivation. It gives no fresh measurement of either feature’s individual contribution, and it gives no estimate of how that contribution varies across the release’s treebanks. The earlier finding is a reason for carrying the features into the toolkit. The multilingual evaluation measures the resulting toolkit with those choices already in place. Universal Dependency Parsing from Scratch

There is a useful distinction between the evidence available to the sentence encoder and the evidence made explicit in an attachment score. The encoder sees a sequence and can learn regularities involving its order. The additional predictions ask more specific questions about a pair of words. Does the prospective head occur on the side expected for a pair like this? Is the separation consistent with the distances learned for comparable pairs? Removing the explicit predictions would test the value of making that information available in this particular form. It would leave the sequence encoder with access to the order of the sentence. Any difference would therefore concern the design of the parser’s scoring, instead of the value of word order in grammar generally.

The same distinction governs how to read a result for the pair of features. An attachment can be compatible with a preferred direction and atypical in distance, or compatible in distance and atypical in direction. Knowing that the augmented parser improved in earlier work leaves open how frequently the two signals reinforce each other and how frequently one makes a useful distinction on its own. The Stanza benchmark does not assign successful attachments to either source of evidence. Its result is about the parser that incorporates both.

What the examples explain about the front of the pipeline

The French example is a worked demonstration of why the authors put the decision to mark a token for expansion in the boundary processor. The useful comparison is between the two occurrences of the same written form. A procedure that always assigns the same expansion status to that spelling would have to handle both occurrences alike. The reference analyses in the example call for different decisions. The example therefore establishes a concrete need for contextual evidence somewhere in the treatment of multi-word tokens. It gives no estimate of how common such ambiguity is or how many mistakes joint prediction prevents.

That distinction matters because joint prediction is a more specific architectural claim than the claim that context is needed. An alternative design could make a separate decision about expansion after tokenization and still consult context. The figure gives the reader grounds for understanding the authors’ decision to predict expansion status during tokenization. It supplies no comparison between that implementation and a context-sensitive procedure with separate stages. A successful example illustrates how the implemented system can express the analysis. It cannot resolve which organization would learn the decision more reliably.

The example also helps locate what each part of the expansion mechanism is supposed to contribute. The tokenizer has to send the right occurrence for expansion. Once it does, the expander has to recover the expected words. The frequency lexicon addresses forms for which there is recurring evidence in the training data. The sequence generator addresses cases where lookup alone offers less coverage. A score for the completed task combines the consequences of recognition and generation. Even a strong score leaves open whether a lexicon could already resolve most of the test items and whether the remaining difficulties involve unfamiliar forms, misidentified occurrences, or both.

The lemmatizer presents a related question with a different unit of analysis. Its ability to copy or lower-case a word directly has a stated purpose, especially for long strings that are difficult to reproduce character by character. The architectural account shows how a shortcut can yield an exact output once selected. The reliability of the selection is a separate empirical question. A shortcut could be helpful on strings that require copying and harmful on strings for which an apparently plausible copy is the wrong canonical form. The reported evaluation does not show how often each operation was selected or track errors by the route the lemmatizer took. Its score belongs to a lemmatizer with all those routes available.

How to read the accuracy and efficiency comparisons

The grammar evaluation provides a useful check on the practicality of the shared configuration. Hyper-parameters chosen on large treebanks are used elsewhere, and the resulting system can be evaluated over the wider collection without a separate search for each treebank. That exercise differs from comparing shared settings with settings optimized independently for each dataset. Performance of the shared configuration shows that the authors could use it successfully under their training procedure. It does not give the accuracy cost or benefit of using it rather than optimizing for each dataset. The comparison with other toolkits has a different purpose again, since it puts complete annotation systems side by side where compatible resources were available.

For the grammatical tagger, the paper gives a reason to condition the local tags and morphological attributes on the universal part of speech. Predictions about the same word should fit together. An aggregate score for each field can show how frequently that field agrees with the test annotation, but it cannot tell a reader how frequently combinations became more coherent because of the conditioning. That would require looking at joint outcomes as well as comparing with a version that predicts the fields independently. The reported comparisons establish performance with the dependency among the outputs present. They do not quantify its effect on consistency or the occasions when a wrong universal category might make a subsequent prediction harder.

The comparison with Flair is especially informative as a test of a complete entity recognizer. Both recognize mentions using contextual character information, and the Stanza authors report similar or stronger scores for their implementation across the chosen datasets. The comparison still leaves the contribution of each input representation undetermined. The measured scores include the effect of the supervised training corpora, the character pretraining, the word representations, and the sequence decoder. A result from removing one of these sources of information would answer a narrower question about what the recognizer needs. The paper’s comparison answers whether the full package can compete on the benchmark task.

The entity comparison also shows that the Stanza release can combine competitive scores with smaller distributed resources. This is a comparison in which size is observed alongside accuracy. It is distinct from compressing a particular trained recognizer by varying amounts and following the changes in its predictions. The authors say they intentionally compressed their resources. They do not show what the same Stanza configuration would have scored before that change. Size and competitive performance coexist in the reported system, while the amount of performance gained, preserved, or lost through compression remains undetermined.

The closest the speed study comes to changing a single condition is its consideration of hardware for annotation. That comparison has a different aim from removing a prediction component. Running with acceleration changes where computations happen, whereas removing a component changes which computations are performed and potentially which annotations are returned. The benchmark times cover toolkit configurations on particular workloads. They do not break out which stages account for the time or associate the largest costs with specific gains in accuracy. The relation the study establishes is at the level a user encounters when running the compared toolkits.

Taken together, these analyses support a claim about assembling and distributing a strong multilingual toolkit. The figures explain what particular design choices make possible. The earlier parser study provides evidence for a modification carried forward into Stanza. The benchmark comparisons establish how the assembled configurations performed, and the efficiency measurements describe practical costs alongside their accreditation on test data. The experiments leave the relative contributions of the individual architectural choices mostly open.

Limitations

The authors’ stated limits

The authors identify dependence on individual datasets as a limit of the release. Most of the downloadable resources were trained on a single dataset. A corpus supplies both examples of language and decisions about what an annotation ought to represent. These properties help make a trained processor suitable for its own benchmark. They also mean that a convenient language-specific download may reflect the kind of text and the annotation choices of a particular collection. The authors propose investigating whether compatible sources can be pooled to produce more broadly useful defaults. The paper reports no experiment on that proposal.

Compatibility matters to the proposal because pooling would bring together target annotations as well as text. Two datasets may record the same broad grammatical distinctions and still give different amounts of detail in particular fields. The toolkit’s ability to train separately on both does not settle what a training example from one should teach a processor about the other. The authors’ plan is framed around finding data that can be combined. It is a plan for widening the experience available to a default release, distinct from the demonstrated ability to fit different collections using the same architecture.

The authors also state that they have limited computing resources and capacity to prepare trained releases. They envisage an open collection to which researchers outside the group could contribute. This is a proposed response to a practical issue raised by the architecture. Reusing an implementation makes it possible to train on another suitable dataset, but someone still has to prepare the data, carry out training and evaluation, and make the resulting resource available. At the time described in the paper, the public releases and the custom training interfaces address different pieces of that work. The envisaged collection is future work.

A further stated limit is computational efficiency. The authors put a priority on accurate annotation and acknowledge that the resulting processing cost restricts where the toolkit can be used. Their proposal is to reduce the size of trained resources and speed up annotation while preserving accuracy. The existing size comparison for the named entity recognizer motivates looking at what can be distributed economically. It does not establish that further reductions would carry no penalty, or that reducing stored size alone would answer the runtime problem.

The authors also want to add native processors for coreference and relation extraction. The tasks are already accessible through the Java client to the extent that CoreNLP offers them. The plan concerns bringing such analyses into the native system. This distinction is part of the limitation even for someone whose application is written entirely in Python. Python access can be achieved through a server request, with the analysis performed elsewhere. Adding a native processor would entail training and evaluating another component and making its resources available. The paper presents that as an extension of the work.

Finally, the authors explicitly qualify one part of the named entity comparison. The spaCy recognizers retrained for the experiment followed a tutorial procedure that did not use pretrained word embeddings. The authors acknowledge that such embeddings might improve performance. This affects the interpretation of the observed difference in scores. It pertains to the entries produced by retraining under the stated procedure. Publicly distributed spaCy results used for matching datasets have a different provenance, which the paper marks in the comparison. The qualification gives the reader a reason to interpret the comparison at the level of the configurations tested.

What the language coverage establishes

A limit apparent from the setup is that the different meanings of coverage cannot be collapsed into a single count. A language may have a grammar pipeline trained from a treebank, whereas the entity recognizer depends on the availability of a suitable entity corpus. The grammar benchmarks cover 66 languages and the named entity benchmarks span 8 major languages. The number of languages reached through the CoreNLP client refers to that separate route. A statement about the widest coverage of the toolkit therefore leaves open whether a particular annotation is available and evaluated for a particular language.

The types of evidence behind these counts matter. Training and test results for a language’s grammar describe performance on annotated examples from a selected collection. A contribution that makes a processor obtainable for that language answers a further practical question about access. Neither establishes what support looks like for linguistic varieties that are missing from the datasets. Where a dataset has relatively narrow coverage, a trained release can still be valuable for text that resembles it. The benchmark does not give the success rate for every variety to which someone might apply that release.

Selection into the treebank study also depends on the status of the training data. The authors restrict training to eligible treebanks within the chosen Universal Dependencies release. This gives a clear basis for the collection evaluated. It also means that the availability of trainable data is part of the population being measured. A language with no suitable annotated corpus poses a different problem from a language for which there is an eligible treebank. The common training prescription demonstrates what can be done once that resource is available. It does not supply the missing annotations.

The collection contains diverse families, with European languages making up most of the coverage. This offers evidence beyond a single linguistic setting while leaving the balance of the evaluation uneven. The number of families represented cannot show whether the tool is equally well supported in each family. The relevant unit for that question would have to account for how many datasets each contributes and what those datasets cover. A collection assembled from available treebanks is consequential precisely because it makes a broad experiment possible. Its makeup also determines which kinds of variation the experiment can reveal.

A related issue concerns the difference between sharing an architecture and sharing what has been learned. The paper’s broad result follows training on the relevant datasets. It does not demonstrate successful annotation of a new language before providing labeled examples for that language. The transferable part tested here is a way of specifying and training the processors. The supervision still supplies the correspondence between the input and the expected annotations. The same point applies within a language when the desired output uses categories or conventions absent from the resource loaded by the pipeline.

Uniform hyper-parameters likewise leave room for other differences in training. The grammar pipeline uses different sources of lexical representations according to availability, and the entity pipeline makes language-specific choices about pretraining text. This is a reasonable part of the system design and a limit on attributing variability purely to the architecture. The experiments combine a shared prescription with the resources available for a given dataset. They provide no independent estimate of how much the quality or quantity of those resources contributes to performance on a particular language.

What the test splits say about new text

A held-out test split helps establish that a processor can annotate examples it did not see during supervised training. The strength of that inference depends on how the examples were obtained. A test drawn from the same collection shares important properties with the training material, including its annotation conventions. A test explicitly drawn from a new genre, source, or variety could put pressure on a different set of assumptions. The authors’ evidence across genres mostly comes from applying the training design to different collections and assessing the resulting resources on the corresponding tests.

A corpus can be varied internally, and successful performance on its test set can reflect the ability to handle some of that variation. Even in this case, a single overall score does not show how the variation is distributed between splits, or where the remaining errors are concentrated. The paper’s interest in pooling data for more robust defaults is consistent with this limit. It suggests that the authors regard good in-corpus results and reliable annotation across sources as related questions deserving separate evidence.

The randomly created development splits for some treebanks address the need for material on which to make training decisions. The WikiNER splits have a different role because the authors allocate data for training, development, and testing within those collections. Random allocation supplies held-out material under the stated procedure. It does not by itself design an assessment around a particular kind of novelty. A reader who wants to know how well the entity recognizer handles names missing from training, or text from a new source, would need information about which items occur in which split and an assessment under that condition. The reported entity score combines the cases present in the selected test split.

There is also uncertainty about sensitivity to the choice of split. This is clearest when development data are randomly set aside from a collection without an established development set. The resulting development data can affect choices made during training, and the examples reserved for development also change what is available to fit the processor. The protocol describes how the study constructs its splits. It does not measure how much performance would change under another split or whether some treebanks are more sensitive to that choice.

For character pretraining, the descriptions name the sources used and the exceptions made for specific languages. The paper does not provide a separate experiment that varies the pretraining source while holding the named entity corpus fixed. The benchmark therefore shows how the recognizer performs with the contextual representations prepared as part of the study. It leaves open how it would respond to a smaller text collection, a change in the genre of that text, or the unavailability of a similar resource for another language. Those questions matter when trying to extend the recipe beyond the evaluated corpora.

What the scores leave unresolved

The macro averages for Universal Dependencies summarize a collection of treebanks. They describe the typical contribution at the level of the included datasets, with each treebank given equal influence. A language represented by several treebanks can therefore contribute several scores to the average. A language represented by a single treebank contributes that one result. Equal weight for treebanks gives a useful view of performance across collections. A reader interested in the distribution across languages, or across groups of related languages, needs a different breakdown.

An average also permits stronger and weaker outcomes to coexist. A high aggregate can support the authors’ claim that the training procedure worked well over a broad collection while leaving the circumstances of lower scores unclear. What matters to an application could be a particular feature, an uncommon dependency, or a difficult type of boundary. Each of those might contribute little to the aggregate measure of its task. Results broken down by such cases would provide evidence about where the toolkit is reliable and which errors matter for a particular use. The summary scores are designed to answer a broader benchmark question.

The choice of micro-averaging for entities has different consequences. It gives every counted entity prediction a place in the corpus-level measurement. Frequently represented types can account for much more of the result than types that occur rarely. A competitive or superior score says the overall collection of predicted spans and types compares well with the reference. It does not imply a similar ranking on every type. Recording the number of types in each dataset helps readers identify a difference in annotation inventories. That count does not show the frequency of each category or the reliability of its predictions.

A score that requires the appropriate span and type can also bring together qualitatively different errors. Identifying the right region of a sentence with the wrong type poses a different problem from giving an entity the correct type while extending its span too far. Both affect benchmark agreement. Their practical significance can differ depending on what someone needs from the annotations. The entity result gives a common basis for comparison across systems on a given corpus, while a reader interested in particular failures would need a closer analysis of the predictions.

The grammar pipeline likewise gives several opportunities for errors to interact. An erroneous sentence boundary can alter the context the tagger sees and the set of heads considered during parsing. An erroneous expansion can change which words need attachments altogether. A grammar score obtained from raw input includes the consequences of those decisions. It cannot on its own distinguish cases in which the parser makes the wrong decision given a correct word sequence from cases in which the sequence available to the parser differs from the reference.

That distinction does not diminish the value of a raw-text benchmark. Its value is that it tests what a user actually asks the pipeline to do. It simply has a different purpose from a diagnostic that feeds a later processor reference boundaries or tags. Such diagnostics could trace where an error enters and how far its consequences extend. The benchmark evaluates the final annotations under realistic input conditions for the system. The paper does not report a controlled series of reference-input tests that would allocate the observed losses among processors.

There is a further gap between agreement with a reference and benefit for another application. A mistake on a sentence may have little effect on a later system that uses many other cues. A mistake in a rarely occurring construction may be decisive for an application built specifically to find that construction. The paper evaluates the linguistic annotations directly, giving a basis for judging their quality as annotations. It does not follow the predictions into downstream applications to measure where the reported advantages make a difference to the application’s own outcome.

How far the toolkit comparisons extend

The direct grammar comparisons are conditional on the availability of pretrained resources for the selected major languages. This is an understandable restriction for evaluating released software, where users care about what they can obtain and run. It also means the comparison set is chosen partly by the coverage of the alternatives. The wider Stanza evaluation supplies evidence about its own performance on more treebanks. It does not tell how the baselines would fare there if trained or adapted to the same data under equally suitable conditions.

A toolkit comparison can in principle be about the packages users can download, or it can be about how architectures perform after analogous training and optimization. The paper’s grammar comparison is more directly informative for the former question. Its entity comparison includes additional training decisions to make results available for the chosen splits. Those decisions allow useful comparisons on shared test material, while leaving aspects of resource use and tuning different across systems. A ranking under this protocol should be read as a ranking of the systems as evaluated.

The Flair runs address one concrete difference by using the study’s dataset splits in place of downloaded releases prepared with other corpus versions. Matching splits protects the comparison from differences in which test examples are scored. It does not standardize every aspect of learning or guarantee identical resource budgets. That is particularly relevant when interpreting the simultaneous size comparison. A recognizer’s score and its distributed size are both features of an entire configuration. The paper does not establish how either toolkit’s scores would change across a range of matched size constraints.

For retrained spaCy recognizers, the authors specify default settings and note the absence of pretrained word embeddings in that procedure. The comparison captures how that baseline behaved under an identifiable and accessible recipe. It gives limited grounds for inferring how the same toolkit would perform if provided with a different lexical resource or tuned more extensively. In the absence of a matched resource experiment, the difference in scores cannot be apportioned between the architecture and the choices governing its preparation.

The comparisons are also tied to the named versions of the toolkits. The paper establishes benchmark results for the releases and training procedures it identifies. Its conclusions about efficiency or annotation quality pertain to those versions. This temporal scope matters because an interface, a new trained release, and an architectural change are all capable of altering what a toolkit supplies. Nothing in the benchmark design tests how the relative positions would hold if any evaluated configuration changed.

What the runtime experiment measures

The speed test concerns two English benchmark workloads and the hardware used for the comparisons. This bounds the inference in a concrete way. The grammar and entity workloads involve different text and different annotations. The reported reference rates can describe the pace of annotation for each task on its test material. They do not identify a universal rate at which a toolkit processes tokens. Even the same unit of throughput can refer to different amounts of work per token when the requested annotations change.

Different languages can also put different demands on the stages traversed in annotation. The German and French examples already show why a fixed quantity of written tokens need not correspond to a fixed quantity of syntactic words. The sentence structure of an input, and the availability of batches suitable for the hardware, can affect the processing conditions. The runtime results on English therefore provide a practical point of comparison without measuring how those conditions vary across the multilingual release. The paper offers evidence for GPU acceleration under the experiment’s setup, with no surveyed range of GPUs or deployment environments.

Throughput is useful for a large workload. The time to produce a result for a single short request is another quantity. A Python application may care about initialization, loading resources, waiting for a request to complete, or repeatedly sending text to a server. The caption and analysis describe annotation runtime on the benchmark datasets. They do not furnish measurements for each of these other circumstances. The user-facing interface makes the toolkit easy to call, but that ease of access and the latency of an individual call are separate properties.

The size comparison is similarly narrower than a complete account of memory use. Reduced size matters to the storage and distribution of a release, which were among the authors’ reasons for compression. Memory during processing can also include intermediate representations and anything needed to run the selected processors together. The paper does not give a memory profile for such a workload. It therefore establishes a size advantage for the entity resources in its comparisons without giving the full resource requirements of annotation.

The reach of the demonstrations and the client

The German demonstration helps a reader see how the output represents a multi-word token. Its use of trained resources from the largest available dataset for a language and annotation task is a policy for choosing what the demo runs. A visually clear example can explain the meaning of an output and give evidence that the system can produce it. It does not compare the choice of the largest dataset against a resource trained from a collection better matched to the genre of the input. The demonstration’s selection policy should be understood in light of that purpose.

The CoreNLP example illustrates another boundary of the evidence. The client can make a request and return entity mentions and coreference chains. This is evidence of an interface to those analyses. The native benchmark results concern the processors the Stanza authors train and evaluate in the study. They give no accuracy estimates for the extra annotation tasks invoked through the client. The fact that those outputs can be handled in Python makes them available to applications, while their linguistic quality still depends on the corresponding Java annotators and their training.

The client’s health checks and restart behavior are described as ways to make the connection robust. A description of the mechanism explains what the client is designed to do when the server needs attention. The paper offers no separate evaluation of behavior under particular server failures, or of the overhead of communicating with the server. This leaves the architectural contribution clear. Python programs can use additional functionality through an interface that handles the server process and the format of the response. Reliability and response time under specific operating conditions require evidence different from the examples the paper presents.

What came after

The papers that cite Stanza span work on sentence boundaries, multilingual data, and the use of linguistic distinctions in broader tasks. The citations establish a connection to the toolkit paper. For most of these works, a more exact connection, such as which processor was run or whether its output entered a benchmark, cannot be established from the research question alone. The links below trace what those papers studied and how their questions relate to the processing problems Stanza makes explicit.

Segmentation and alignment as tasks in their own right

In Stanza, finding sentence boundaries is part of the operation that converts characters into tokens. PySBD takes sentence boundary disambiguation as the research problem in its own right. Its focus illustrates the difference between studying where sentences end and studying the effect of those decisions inside a longer pipeline. Evaluation of a dedicated splitter can put attention on the boundary decision itself. In a grammar benchmark that starts with raw text, the same decision also affects what later processors see. The citation links work with these two scopes. It does not establish that the dedicated splitter was derived from Stanza’s joint boundary predictor. PySBD

SimAlign studies correspondences between words in different languages using static and contextualized embeddings, without parallel training data. Its problem begins with units that can be paired across texts. The way those units are represented matters for what a correspondence means. If a written span encodes more than one grammatical word, alignment can be posed over the written span or over its grammatical analysis. That choice is conceptually related to the distinction Stanza inherits from Universal Dependencies. SimAlign’s title identifies the representations used to address alignment. The citation alone leaves open which segmentation procedure supplied its input. SimAlign

XL-WiC studies semantic contextualization across languages. Its focus is on what context contributes to the interpretation of a lexical item, whereas Stanza uses context to determine things such as its grammatical category or whether a surface token should expand. Both problems require a way to identify the occurrence under study and the surrounding material that can inform its interpretation. They ask for different answers about that occurrence. A structure assigned to a sentence can describe the relations among its words. A benchmark of lexical meaning asks how the interpretation changes when the surroundings change. The fact of citation supplies no grounds for identifying a particular Stanza annotation in the benchmark. XL-WiC

Work on dictionary-based phrase prompting for machine translation puts lexical information into a translation problem at the level of phrases. The phrase is significant because a dictionary entry used there can concern a sequence of words and guide a decision about a larger text. Stanza’s frequency lexicon has a narrower target. It supplies evidence about expansions observed for a token in annotated data. The comparison between the problems helps distinguish two uses of a lexical resource. One informs the production of a translation. The other determines the grammatical units to be annotated within a source text. The citation gives no basis for treating the resources or the procedures as the same. Dictionary-based Phrase-level Prompting

What a shared pipeline can mean at larger scale

FineWeb2 makes a shared processing pipeline central to a study of adapting pretraining data preparation across languages. This takes up a question familiar from Stanza at a different point in the research process. Stanza reuses a processing architecture to produce linguistic annotations for text. FineWeb2’s title makes the preparation of pretraining data the target of the common pipeline. In both settings, reuse across languages still leaves choices about what information and resources a particular language needs. The citation connects two projects that address the cost of building a separate processing procedure for every language. It does not establish reuse of specific Stanza processors in the later pipeline. FineWeb2

The BigScience ROOTS Corpus concerns the construction of a composite multilingual dataset. A collection assembled from multiple sources raises questions about what the resulting dataset covers and how to describe that coverage. Stanza’s training setup offers a smaller and more task-specific example of why provenance matters. Knowing the language of a treebank leaves open the kind of material it contains and the conventions used to annotate it. A composite corpus has its own purpose and units of description. Its title establishes the construction of a multilingual data resource. The citation is a connection to multilingual processing, without specifying which annotations, if any, were produced with Stanza. The BigScience ROOTS Corpus

The Transformers toolkit paper offers another comparison at the level of research software. Its stated subject is software for natural language processing organized around Transformer and attention methods. In Stanza, the user-facing organization follows a series of annotation tasks, and the paper describes which learned component supplies each output. The toolkits make different decisions about what research operations to place behind a common interface. The citation puts Stanza in that software context. It supplies no evidence that the Transformers toolkit adopts Stanza’s boundary predictor, grammar pipeline, or document hierarchy. Transformers

The paper on large-scale contextualised language modelling for Norwegian concentrates on a particular language. That focus has a useful relation to Stanza’s breadth. Stanza shows how a common annotation design can be trained wherever an appropriate dataset is available. A large-scale study centered on Norwegian asks what can be done when the development effort is concentrated on contextual representations for that language. These are complementary ways to address language coverage, with different products and evidence. The citation does not say whether the Norwegian study uses annotations from Stanza or cites it as related multilingual infrastructure. Large-Scale Contextualised Language Modelling for Norwegian

Extending coverage when the language is new

The mBERT paper about unseen languages takes the absence of a language from earlier multilingual training as a starting condition. Stanza’s training study starts from a different condition. Given suitable annotations for a language, its authors ask whether the architecture and settings can remain broadly the same. The mBERT study’s title directs attention to how a multilingual system handles languages that were previously unseen. This makes the difference between a reusable design and a reusable trained resource central to the comparison. Availability of a common implementation helps with one problem. How to adapt existing learned representations to previously unseen text is a further question addressed by the later work. When Being Unseen from mBERT is Just the Beginning

The study on adapting pretrained multilingual systems to many languages emphasizes adaptation itself. The relevant issue for comparison with Stanza is what can be carried forward when adding a language. Stanza carries forward a design and training settings while providing corpus-specific trained resources. The later work starts from multilingual pretraining and asks about extending its coverage. A citation to Stanza does not establish that it provides supervision or evaluation for that extension. The difference in starting conditions explains why the results of Stanza’s multilingual annotation benchmark would not, by themselves, answer the adaptation question. How to Adapt Your Pretrained Multilingual Model

The lexicon-based adaptation paper identifies a more specific means of extending the reach of pretrained systems. Its use of a lexicon addresses coverage of additional languages. Stanza uses lexical lookup for bounded annotation tasks, including familiar expansions and canonical forms. Both designs give some role to explicit lexical correspondences, but their targets differ. Coverage through adaptation concerns what an existing trained system can make of material in a further language. Coverage through Stanza’s dictionaries concerns which cases an annotation processor can handle with information learned from its data. The common vocabulary of lexicons should not obscure the different research questions recorded by the two papers. Lexicon-based Adaptation

Common Sense Beyond English extends evaluation to reasoning in multilingual settings. It makes a further distinction visible. Correctly identifying words and their relations in a sentence is a measurable linguistic capability. Judging what is plausible or ordinarily follows from a situation is another capability. The latter requires evaluation that actually makes those decisions part of the task. Stanza’s breadth provides evidence about the former across many annotated collections. The citing work’s stated subject is the evaluation and improvement of multilingual commonsense reasoning. Nothing in its title or the citation identifies which Stanza outputs, if any, helped prepare those evaluations. Common Sense Beyond English

From annotations to judgments about a passage

Clinical information extraction poses a question about recovering specified information from clinical text with few labeled examples. That task brings into focus a distinction already implicit in Stanza’s entity evaluation. A recognizer can be assessed on whether it locates mentions and assigns the types defined by its corpus. An extraction task can instead specify information according to what a reader of the document needs to recover. The criteria can include which pieces of text answer the request and how the extracted information should be represented. The later title identifies the clinical setting and few-shot regime. It supplies no grounds to infer the use of particular Stanza labels, processors, or annotation inventories. Few-Shot Clinical Information Extraction

ContractNLI introduces a dataset for natural language inference at the document level in contracts. Here the challenge is to determine what relation a document bears to a proposition. Linguistic annotations can identify units and grammatical relations within a document. Assessing the proposition calls for looking at what the document as a whole supports, potentially using material beyond the boundaries of an individual sentence. This gives a concrete sense of how the unit of evaluation changes between the two papers. Stanza’s document object organizes results for sentences and words. The ContractNLI title places the document itself at the level where the inference must be evaluated. Its citation does not disclose Stanza’s place in preparing or evaluating the dataset. ContractNLI

LGESQL uses a line graph and mixes local and non-local relations for text-to-SQL, the task of turning a request in ordinary language into a database query. The relation to Stanza concerns how structure is used in a system. In a dependency benchmark, the predicted links are themselves linguistic outputs and are scored against grammatical annotations. In a text-to-SQL study, relations represented inside the system have a role in producing a query. Measuring the quality of a grammatical edge would tell a reader little on its own about whether the query gives the intended result. The citation establishes a connection between the papers without identifying which edges in the later system came from linguistic annotations. LGESQL

Logical Fallacy Detection addresses a property of an argument. The unit whose role matters may be a claim or a reason for believing it. A grammatical analysis concerns the organization of the text expressing those elements. It can describe the language of an argument without establishing whether a particular inference is warranted. This difference is important when situating the Stanza citation. It connects work on the analysis of text to an evaluation that requires judgments about reasoning. The title identifies fallacy detection as the later study’s target, but it leaves the use of particular grammatical evidence undetermined. Logical Fallacy Detection

A study of modelling negation likewise brings a linguistic phenomenon to the foreground. Its connection to Stanza is easiest to understand through the difference between finding grammatical evidence in a sentence and evaluating how negation affects meaning. Identifying a word and its attachment can help describe the construction in which it occurs. Assessing what is denied requires knowing the scope and interpretation of the negation. The later paper identifies that interpretive phenomenon as its subject. The citation does not identify an experiment on Stanza’s treatment of negation. Understanding by Understanding Not

Evaluating what a system writes

CLIFF studies contrastive learning to improve faithfulness and factuality in abstractive summarization. Its purpose makes clear why accuracy in annotation and accuracy in generated prose are different evaluation targets. Recovering the span of a name is one observable prediction. A generated statement involving that name can preserve the source’s meaning or change it. Evaluating the statement requires considering its relationship to the source as well as the text of the statement itself. CLIFF’s title identifies contrastive learning as the paper’s approach to the latter problem. Its citation does not establish how Stanza enters the learning process. CLIFF

The study of contrast candidate generation and selection also targets summary faithfulness. It identifies the creation and selection of candidate outputs as parts of its approach. That creates a different decision point from the ones examined in Stanza’s grammar and entity benchmarks. A summary evaluator may need to distinguish alternatives that sound similarly natural while differing in the facts they communicate. Stanza’s explicit predictions about words, entities, and dependencies illustrate information an analysis can describe about text. The title and citation do not establish that candidate generation or selection depended on any of those predictions in the later study. Contrast Candidate Generation and Selection

Scarecrow puts forward a framework for examining machine-generated text and asks whether readers can tell it apart from human writing. The connection to Stanza is a change in what an annotation is used to explain. In the Stanza paper, the language in a document is the object whose units and grammatical properties must be recovered. Researchers studying machine-generated writing can examine which features of a passage offer clues to its production process or reveal its shortcomings. The citation connects the scrutiny of generated language to work on general annotation. It supplies no basis for claiming that Stanza identified particular flaws or made the distinctions evaluated in Scarecrow. Scarecrow

MAGE studies detection of machine-generated text in the wild. The problem involves drawing a conclusion about the origin of a passage. Stanza’s evaluations instead start with pre-defined kinds of annotation and test whether each can be recovered. The fact that both take text as input does not make their predictions comparable. A detector requires evidence that patterns in the input are informative about origin under the conditions evaluated. A grammatical tagger requires evidence that a label agrees with the corpus annotation. What the later title establishes is the detection problem and its setting. It does not specify an annotation feature used by the detector. MAGE

CoAuthor develops a dataset of human and AI collaborative writing to study the capabilities shown in that activity. The stated focus rests on the process and products of writing together. The language in such a dataset could in principle be described at the level of sentence boundaries or words, while the research question concerns what happens when a person writes with assistance. A test of word or sentence annotation would be evidence about one part of text processing. Evidence about collaborative writing depends on what the study records about the collaboration and the text it produces. The citation does not establish how Stanza was used in collecting or analyzing those records. CoAuthor

The literary translation paper studies what document context contributes and reports that serious errors persist. Its subject illustrates a scale of context different from the one Stanza emphasizes in grammatical analysis. A word’s immediate sentence helps determine its category and attachments. In translating a literary passage, material elsewhere in the document may matter to the interpretation and to consistency in the resulting text. The later title establishes both the usefulness of document context in its study and the persistence of errors. It gives no evidence of what contribution, if any, Stanza’s sentence-level annotations made to those findings. Document Context for Literary Translation

Across these papers, the most consistently identifiable legacy is the research problem that Stanza put in concrete form. Software that processes text at scale has to make choices about its linguistic units, the resources available for each language, and the structure of its outputs. Later work can study those choices directly or take them as part of preparing material for a different task. The citations show that the toolkit paper remained relevant across those settings. Its own evidence is most specific where it began, with a shared architecture trained on annotated collections and assessed on the predictions it returns.

 Institutions

 Fields, topics and concepts

 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works

 Topics 1Research subjects and languages the work is about.English · 2,381 works

Cite

Cite as Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton and Christopher D. Manning. 2020. Stanza: A Python Natural Language Processing Toolkit for Many Human Languages. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations.

The paper itself, not this card. BibTeX from the library's record of the work. DOI 10.18653/v1/2020.acl-demos.14 · arXiv 2003.07082

@inproceedings{qi2020stanza,
  title = {{Stanza: A Python Natural Language Processing Toolkit for Many Human Languages}},
  author = {Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton and Christopher D. Manning},
  booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations},
  year = {2020},
  doi = {10.18653/v1/2020.acl-demos.14},
  eprint = {2003.07082},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2020.acl-demos.14}
}

References

19 references, from the paper's own bibliography.

  1. Alan Akbik, Tanja Bergmann, Duncan Blythe, Kashif Rasul, Stefan Schweter, and Roland Vollgraf. 2019. FLAIR: An easy-to-use framework for state-of-the-art NLP (https://www.aclweb.org/anthology/N19-4010). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations). Association for Computational Linguistics. our card
  2. Alan Akbik, Duncan Blythe, and Roland Vollgraf. 2018. Contextual string embeddings for sequence labeling (https://www.aclweb.org/anthology/C18-1139). In Proceedings of the 27th International Conference on Computational Linguistics. Association for Computational Linguistics. our card
  3. Loïc Barrault, Ondřej Bojar, Marta R. Costa-jussà, Christian Federmann, Mark Fishel, Yvette Graham, Barry Haddow, Matthias Huck, Philipp Koehn, Shervin Malmasi, Christof Monz, Mathias Müller, Santanu Pal, Matt Post, and Marcos Zampieri. 2019. Findings of the 2019 conference on machine translation (WMT19) (https://www.aclweb.org/anthology/W19-5301). In Proceedings of the Fourth Conference on Machine Translation (Volume 2: Shared Task Papers, Day 1). Association for Computational Linguistics. our card
  4. Darina Benikova, Chris Biemann, and Marc Reznicek. 2014. NoSta-D named entity annotation for German: Guidelines and dataset. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14). our card
  5. Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. 2017. Enriching word vectors with subword information (http://dx.doi.org/10.1162/tacl_a_00051). Transactions of the Association for Computational Linguistics, 5. our card
  6. Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. 2013. One billion word benchmark for measuring progress in statistical language modeling (http://arxiv.org/abs/1312.3005). Technical report, Google. our card
  7. Timothy Dozat and Christopher D. Manning. 2017. Deep biaffine attention for neural dependency parsing (https://nlp.stanford.edu/pubs/dozat2017deep.pdf). In International Conference on Learning Representations (ICLR). our card
  8. Christopher D. Manning, Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J. Bethard, and David McClosky. 2014. The Stanford CoreNLP natural language processing toolkit (http://www.aclweb.org/anthology/P/P14/P14-5010). In Association for Computational Linguistics (ACL) System Demonstrations. our card
  9. Behrang Mohit, Nathan Schneider, Rishav Bhowmick, Kemal Oflazer, and Noah A Smith. 2012. Recall-oriented learning of named entities in Arabic Wikipedia. In Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics. Association for Computational Linguistics. our card
  10. Joakim Nivre, Marie-Catherine de Marneffe, Filip Ginter, Jan Hajič, Christopher D. Manning, Sampo Pyysalo, Sebastian Schuster, Francis Tyers, and Daniel Zeman. 2020. Universal dependencies v2: An evergrowing multilingual treebank collection. In Proceedings of the Twelfth International Conference on Language Resources and Evaluation (LREC'20). our card
  11. Joel Nothman, Nicky Ringland, Will Radford, Tara Murphy, and James R Curran. 2013. Learning multilingual named entity recognition from Wikipedia. Artificial Intelligence, 194:151–175. OpenAlex ↗ · Scholar ↗
  12. Peng Qi, Timothy Dozat, Yuhao Zhang, and Christopher D. Manning. 2018. Universal dependency parsing from scratch (https://nlp.stanford.edu/pubs/qi2018universal.pdf). In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies. Association for Computational Linguistics. our card
  13. Milan Straka. 2018. UDPipe 2.0 prototype at CoNLL 2018 UD shared task (https://www.aclweb.org/anthology/K18-2020). In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies. Association for Computational Linguistics. our card
  14. Mariona Taulé, M. Antònia Martí, and Marta Recasens. 2008. AnCora: Multilevel annotated corpora for Catalan and Spanish (http://www.lrec-conf.org/proceedings/lrec2008/pdf/35_paper.pdf). In Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC'08). European Language Resources Association (ELRA). OpenAlex ↗ · Scholar ↗
  15. Erik F. Tjong Kim Sang. 2002. Introduction to the CoNLL-2002 shared task: Language-independent named entity recognition (https://www.aclweb.org/anthology/W02-2024). In COLING-02: The 6th Conference on Natural Language Learning 2002 (CoNLL-2002). our card
  16. Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003. our card
  17. Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, et al. 2013. OntoNotes release 5.0. Linguistic Data Consortium. OpenAlex ↗ · Scholar ↗
  18. Daniel Zeman, Jan Hajič, Martin Popel, Martin Potthast, Milan Straka, Filip Ginter, Joakim Nivre, and Slav Petrov. 2018. CoNLL 2018 shared task: Multilingual parsing from raw text to universal dependencies (https://www.aclweb.org/anthology/K18-2001). In Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies. Association for Computational Linguistics. our card
  19. Daniel Zeman, Joakim Nivre, Mitchell Abrams, Noëmi Aepli, Željko Agić, Lars Ahrenberg, Gabrielė Aleksandravičiūtė, Lene Antonsen, Katya Aplonova, Maria Jesus Aranzabe, Gashaw Arutie, Masayuki Asahara, Luma Ateyah, Mohammed Attia, Aitziber Atutxa, Liesbeth Augustinus, Elena Badmaeva, Miguel Ballesteros, Esha Banerjee, Sebastian Bank, Verginica Barbu Mititelu, Victoria Basmov, Colin Batchelor, John Bauer, Sandra Bellato, Kepa Bengoetxea, Yevgeni Berzak, Irshad Ahmad Bhat, Riyaz Ahmad Bhat, Erica Biagetti, Eckhard Bick, Agnė Bielinskienė, Rogier Blokland, Victoria Bobicev, Loïc Boizou, Emanuel Borges Völker, Carl Börstell, Cristina Bosco, Gosse Bouma, Sam Bowman, Adriane Boyd, Kristina Brokaitė, Aljoscha Burchardt, Marie Candito, Bernard Caron, Gauthier Caron, Tatiana Cavalcanti, Gülşen Cebiroğlu Eryiğit, Flavio Massimiliano Cecchini, Giuseppe G. A. Celano, Slavomír Čéplö, Savas Cetin, Fabricio Chalub, Jinho Choi, Yongseok Cho, Jayeol Chun, Alessandra T. Cignarella, Silvie Cinková, Aurélie Collomb, Çağrı Cöltekin, Miriam Connor, Marine Courtin, Elizabeth Davidson, Marie-Catherine de Marneffe, Valeria de Paiva, Elvis de Souza, Arantza Diaz de Ilarraza, Carly Dickerson, Bamba Dione, Peter Dirix, Kaja Dobrovoljc, Timothy Dozat, Kira Droganova, Puneet Dwivedi, Hanne Eckhoff, Marhaba Eli, Ali Elkahky, Binyam Ephrem, Olga Erina, Tomaž Erjavec, Aline Etienne, Wograine Evelyn, Richárd Farkas, Hector Fernandez Alcalde, Jennifer Foster, Cláudia Freitas, Kazunori Fujita, Katarína Gajdo sová, Daniel Galbraith, Marcos Garcia, Moa Gärdenfors, Sebastian Garza, Kim Gerdes, Filip Ginter, Iakes Goenaga, Koldo Gojenola, Memduh Gökırmak, Yoav Goldberg, Xavier Gómez Guinovart, Berta González Saavedra, Bernadeta Griciūtė, Matias Grioni, Normunds Grūzītis, Bruno Guillaume, Céline Guillot-Barbance, Nizar Habash, Jan Hajič, Jan Hajič jr., Mika Hämäläinen, Linh Hà Mỹ, Na-Rae Han, Kim Harris, Dag Haug, Johannes Heinecke, Felix Hennig, Barbora Hladká, Jaroslava Hlaváčová, Florinel Hociung, Petter Hohle, Jena Hwang, Takumi Ikeda, Radu Ion, Elena Irimia, Olájídé Ishola, Tomáš Jelínek, Anders Johannsen, Fredrik Jørgensen, Markus Juutinen, Hüner Kaşıkara, Andre Kaasen, Nadezhda Kabaeva, Sylvain Kahane, Hiroshi Kanayama, Jenna Kanerva, Boris Katz, Tolga Kayadelen, Jessica Kenney, Václava Kettnerová, Jesse Kirchner, Elena Klementieva, Arne Köhn, Kamil Kopacewicz, Natalia Kotsyba, Jolanta Kovalevskaitė, Simon Krek, Sookyoung Kwak, Veronika Laippala, Lorenzo Lambertino, Lucia Lam, Tatiana Lando, Septina Dian Larasati, Alexei Lavrentiev, John Lee, Phương Lê H\̀^ong, Alessandro Lenci, Saran Lertpradit, Herman Leung, Cheuk Ying Li, Josie Li, Keying Li, KyungTae Lim, Maria Liovina, Yuan Li, Nikola Ljubešić, Olga Loginova, Olga Lyashevskaya, Teresa Lynn, Vivien Macketanz, Aibek Makazhanov, Michael Mandl, Christopher Manning, Ruli Manurung, Cătălina Mărănduc, David Mareček, Katrin Marheinecke, Héctor Martínez Alonso, André Martins, Jan Ma sek, Yuji Matsumoto, Ryan McDonald, Sarah McGuinness, Gustavo Mendon ca, Niko Miekka, Margarita Misirpashayeva, Anna Missilä, Căt alin Mititelu, Maria Mitrofan, Yusuke Miyao, Simonetta Montemagni, Amir More, Laura Moreno Romero, Keiko Sophie Mori, Tomohiko Morioka, Shinsuke Mori, Shigeki Moro, Bjartur Mortensen, Bohdan Moskalevskyi, Kadri Muischnek, Robert Munro, Yugo Murawaki, Kaili Müürisep, Pinkey Nainwani, Juan Ignacio Navarro Horñiacek, Anna Nedoluzhko, Gunta Ne spore-Bērzkalne, Lương Nguy\̃^en Thị, Huy\̀^en Nguy\̃^en Thị Minh, Yoshihiro Nikaido, Vitaly Nikolaev, Rattima Nitisaroj, Hanna Nurmi, Stina Ojala, Atul Kr. Ojha, Adédayọ Olúòkun, Mai Omura, Petya Osenova, Robert Östling, Lilja Øvrelid, Niko Partanen, Elena Pascual, Marco Passarotti, Agnieszka Patejuk, Guilherme Paulino-Passos, Angelika Peljak-Łapińska, Siyao Peng, Cenel-Augusto Perez, Guy Perrier, Daria Petrova, Slav Petrov, Jason Phelan, Jussi Piitulainen, Tommi A Pirinen, Emily Pitler, Barbara Plank, Thierry Poibeau, Larisa Ponomareva, Martin Popel, Lauma Pretkalniņa, Sophie Prévost, Prokopis Prokopidis, Adam Przepiórkowski, Tiina Puolakainen, Sampo Pyysalo, Peng Qi, Andriela Rääbis, Alexandre Rademaker, Loganathan Ramasamy, Taraka Rama, Carlos Ramisch, Vinit Ravishankar, Livy Real, Siva Reddy, Georg Rehm, Ivan Riabov, Michael Rießler, Erika Rimkutė, Larissa Rinaldi, Laura Rituma, Luisa Rocha, Mykhailo Romanenko, Rudolf Rosa, Davide Rovati, Valentin Rosca, Olga Rudina, Jack Rueter, Shoval Sadde, Benoît Sagot, Shadi Saleh, Alessio Salomoni, Tanja Samardžić, Stephanie Samson, Manuela Sanguinetti, Dage Särg, Baiba Saulīte, Yanin Sawanakunanon, Nathan Schneider, Sebastian Schuster, Djamé Seddah, Wolfgang Seeker, Mojgan Seraji, Mo Shen, Atsuko Shimada, Hiroyuki Shirasu, Muh Shohibussirri, Dmitry Sichinava, Aline Silveira, Natalia Silveira, Maria Simi, Radu Simionescu, Katalin Simkó, Mária Šimková, Kiril Simov, Aaron Smith, Isabela Soares-Bastos, Carolyn Spadine, Antonio Stella, Milan Straka, Jana Strnadová, Alane Suhr, Umut Sulubacak, Shingo Suzuki, Zsolt Szántó, Dima Taji, Yuta Takahashi, Fabio Tamburini, Takaaki Tanaka, Isabelle Tellier, Guillaume Thomas, Liisi Torga, Trond Trosterud, Anna Trukhina, Reut Tsarfaty, Francis Tyers, Sumire Uematsu, Zdeňka Ure sová, Larraitz Uria, Hans Uszkoreit, Andrius Utka, Sowmya Vajjala, Daniel van Niekerk, Gertjan van Noord, Viktor Varga, Eric Villemonte de la Clergerie, Veronika Vincze, Lars Wallin, Abigail Walsh, Jing Xian Wang, Jonathan North Washington, Maximilan Wendt, Seyi Williams, Mats Wirén, Christian Wittern, Tsegay Woldemariam, Tak-sum Wong, Alina Wróblewska, Mary Yako, Naoki Yamazaki, Chunxiao Yan, Koichi Yasuoka, Marat M. Yavrumyan, Zhuoran Yu, Zdeněk Žabokrtský, Amir Zeldes, Manying Zhang, and Hanzhi Zhu. 2019. Universal Dependencies 2.5 (http://hdl.handle.net/11234/1-3105). LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/qi-2020-stanza-python-natural-language-processing/