SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.07281 · 2022

Annotating the Tweebank Corpus on Named Entity Recognition and Building NLP Models for Social Media Analysis

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 6 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2201.07281.json · badge: /api/ran/2201.07281.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
social-machines/tweebanknlp canonical (classifier label)
classifier basis not recorded on the link
9 ran · 6 no recorded run
FunctionStatusWhere it lives
batchify Ran
ran on a synthesized input
social-machines/tweebanknlp/twitter-stanza/stanza/models/charlm.py
code served (permissive licence) · get_code("61f19438f05e0d95")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 20) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects:
# - data: a tensor with a .size(0) method and .narrow() and .view() methods
# - bsz: an integer for batch size

data = torch.randn(10, 4)  # 10 rows, 4 columns
bsz = 2

ARGS = {
    "data": data,
    "bsz": bsz
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 20) — shape (2, 20) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_indexes Ran
ran; our contract draft was wrong, not the code
social-machines/tweebanknlp/twitter-stanza/stanza/models/lang_identifier.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from stanfordnlp/stanza, is pointer only (licence: NOASSERTION) · get_code("724dca7b60d7f54e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from stanfordnlp/stanza, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_fc_shapes Ran
ran, honoured the contract we drafted
social-machines/tweebanknlp/twitter-stanza/stanza/models/classifier.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from stanfordnlp/stanza, is pointer only (licence: NOASSERTION) · get_code("03c4d0722a83c25a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from stanfordnlp/stanza, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dataset_labels Ran
ran on a synthesized input
social-machines/tweebanknlp/twitter-stanza/stanza/models/classifier.py
code served (permissive licence) · get_code("df9dfa89c5bddd5e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import re

# The function expects a dataset parameter which is iterable
# and contains tuples where the first element (index 0) is a label

# Create a simple dataset with both numeric and string labels
dataset = [
    ("0", "data1"),
    ("1", "data2"),
    ("2", "data3"),
    ("0", "data4"),
]

ARGS = {
    "dataset": dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_batch Ran
ran; our contract draft was wrong, not the code
social-machines/tweebanknlp/twitter-stanza/stanza/models/charlm.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from stanfordnlp/stanza, is pointer only (licence: NOASSERTION) · get_code("380cf031e8cd6eec")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from stanfordnlp/stanza, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

model_file_name Ran
ran on a synthesized input
social-machines/tweebanknlp/twitter-stanza/stanza/models/parser.py
code served (permissive licence) · get_code("3ad2f5b31b9f1ae3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os

ARGS = {
    'args': {
        'save_name': None,
        'shorthand': 'test_model',
        'save_dir': '/tmp'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
model_file_name Ran
ran on a synthesized input
social-machines/tweebanknlp/twitter-stanza/stanza/models/tagger.py
code served (permissive licence) · get_code("b98bb34c8f23c80a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os

ARGS = {
    'args': {
        'load_name': None,
        'save_name': None,
        'shorthand': 'model',
        'save_dir': '/tmp'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
randomize_lengths_range Ran
ran, honoured the contract we drafted
social-machines/tweebanknlp/twitter-stanza/stanza/models/lang_identifier.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from stanfordnlp/stanza, is pointer only (licence: NOASSERTION) · get_code("957a14f01a8bab3b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from stanfordnlp/stanza, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

repackage_hidden Ran
ran, honoured the contract we drafted
social-machines/tweebanknlp/twitter-stanza/stanza/models/charlm.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from mingruiliu-ml-lab/communication-efficient-local-gradient-clipping, is pointer only (licence: GPL-3.0) · get_code("4372bb4533fd1936")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from mingruiliu-ml-lab/communication-efficient-local-gradient-clipping, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/identity_lemmatizer.py
code served (permissive licence) · get_code("e6d73d86addb1bf5")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/lang_identifier.py
code served (permissive licence) · get_code("ed203c36edd90a76")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/mwt_expander.py
code served (permissive licence) · get_code("1377f605ed321af1")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/ner_tagger.py
code served (permissive licence) · get_code("e204f019f1d98b1a")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/parser.py
code served (permissive licence) · get_code("955a84f0cd791e45")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
social-machines/tweebanknlp/twitter-stanza/stanza/models/tagger.py
code served (permissive licence) · get_code("3f3eeedc7dc1038c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 5 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 5 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
repackage_hidden 15 other papers
12 dated earlier, 3 later
1609.04309 (2016-09)
Efficient softmax approximation for GPUs
1704.05119 (2017-04)
Exploring Sparsity in Recurrent Neural Networks
1803.08240 (2018-03)
An Analysis of Neural Language Modeling at Multiple Scales
and 12 more not named here
build_indexes 1 other paper
1 later
2608.27035 (2026-08)
Representing and Parsing Korean Constituency Structure at Different Levels of Granularity *
convert_fc_shapes 1 other paper
1 later
2608.27035 (2026-08)
Representing and Parsing Korean Constituency Structure at Different Levels of Granularity *
get_batch 1 other paper
1 later
2608.27035 (2026-08)
Representing and Parsing Korean Constituency Structure at Different Levels of Granularity *
randomize_lengths_range 1 other paper
1 later
2608.27035 (2026-08)
Representing and Parsing Korean Constituency Structure at Different Levels of Granularity *

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Social media data such as Twitter messages ("tweets") pose a particular challenge to NLP systems because of their short, noisy, and colloquial nature. Tasks such as Named Entity Recognition (NER) and syntactic parsing require highly domain-matched training data for good performance. To date, there is no complete training corpus for both NER and syntactic analysis (e.g., part of speech tagging, dependency parsing) of tweets. While there are some publicly available annotated NLP datasets of tweets, they are only designed for individual tasks. In this study, we aim to create Tweebank-NER, an English NER corpus based on Tweebank V2 (TB2), train state-of-the-art (SOTA) Tweet NLP models on TB2, and release an NLP pipeline called Twitter-Stanza. We annotate named entities in TB2 using Amazon Mechanical Turk and measure the quality of our annotations. We train the Stanza pipeline on TB2 and compare with alternative NLP frameworks (e.g., FLAIR, spaCy) and transformer-based models. The Stanza tokenizer and lemmatizer achieve SOTA performance on TB2, while the Stanza NER tagger, part-of-speech (POS) tagger, and dependency parser achieve competitive performance against non-transformer models. The transformer-based models establish a strong baseline in Tweebank-NER and achieve the new SOTA performance in POS tagging and dependency parsing on TB2. We release the dataset and make both the Stanza pipeline and BERTweet-based models available "off-the-shelf" for use in future Tweet NLP research. Our source code, data, and pre-trained models are available at: \url{https://github.com/social-machines/TweebankNLP}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2201.07281")
get_code_for_paper("2201.07281")
have("2201.07281")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2201.07281.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2201.07281.svg)](https://syntology.ai/paper/2201.07281)

Connect an agent — have() is free.