Japanese NLP

Japanese NLP annotation — entities, relations and classification

Named entity recognition, relation extraction, intent and topic classification, sentiment, natural language inference and segmentation — annotated with the tokenizer your pipeline actually uses.

Japanese has no spaces between words. Every span annotation therefore depends on a boundary decision that somebody has to make, and that decision has to match the tokenizer downstream or the labels will not align.

Boundaries are the whole problem

In English, "Toyota Motor Corporation" has three obvious tokens and the only question is where the entity starts and stops. In Japanese, 株式会社トヨタ自動車 is an unbroken string, and at least four defensible annotations exist: with or without 株式会社, with or without 自動車, treating the whole thing as one entity, or nesting a shorter one inside a longer one.

Every one of those is a legitimate choice. What matters is that the same choice is made every time, that it is written down, and that it survives contact with the tokenizer your model uses — because a span boundary that falls in the middle of a token cannot be represented in BIO tagging without silently moving.

That is why we fix the tokenizer and the boundary rules before annotation starts, and why we annotate character offsets underneath whatever tag format you want, so the data can be re-tokenised later without being re-annotated.

At a glance

Task types
NER, relation and event extraction, intent and topic classification, sentiment and emotion, NLI and paraphrase, segmentation and normalization.
Tokenizer aware
Spans annotated against MeCab, Sudachi, Juman++ or your model’s own tokenizer, as agreed at kickoff.
Boundary rules
Company suffixes, compound nouns, honorific prefixes and inflection are all covered by written rules.
Typical output
JSONL with character offsets; CoNLL-U, BIO tagging and brat standoff also supported.
Review
Span boundaries and span labels reviewed as separate criteria.

Task types

What we annotate

Span tasks and document tasks have different failure modes, so they get different review criteria.

Named entity recognition

Entity spans against a taxonomy defined for your domain, including nested and overlapping entities where you need them.

  • Standard and domain-specific types
  • Nested and discontinuous spans
  • Normalisation to canonical forms
  • Reading and variant linkage

Relation and event extraction

How entities connect — who did what to whom, which value belongs to which field, which clause modifies which term.

  • Binary and n-ary relations
  • Event triggers and arguments
  • Cross-sentence relations
  • Negation and uncertainty marking

Classification

Intent, topic, routing category or policy label at utterance or document level, single or multi-label.

  • Intent and dialogue act
  • Topic and routing categories
  • Multi-label taxonomies
  • Out-of-scope and unclear handling

Sentiment and emotion

Polarity and emotion at document, sentence or aspect level — the last of which is where Japanese business text actually needs it.

  • Document and sentence polarity
  • Aspect-based sentiment
  • Emotion categories
  • Politeness and register tagging

Inference and similarity

Entailment, paraphrase and semantic similarity pairs, plus the hard negatives that make an evaluation set discriminate.

  • NLI entailment pairs
  • Paraphrase identification
  • Graded similarity scores
  • Hard negative construction

Japanese specifics

The rules a Japanese guideline has to contain

These four questions come up in the first hour of every Japanese span-annotation project.

Word boundaries

Japanese is written without spaces, so a span boundary is a judgment call rather than a lookup. Different morphological analyzers segment the same sentence differently, and labels aligned to one will not align to another.

How we handle it The analyzer and dictionary are fixed at kickoff, spans are stored as character offsets so they survive re-tokenisation, and boundary conventions are stated with worked examples.

Company and organisation names

株式会社 can precede or follow a company name, appear abbreviated as (株), or be omitted entirely. Whether it is inside the entity span changes every downstream string match.

How we handle it A single rule covers legal-form prefixes and suffixes, abbreviated forms and parenthetical variants, and a canonical form is recorded alongside the surface span.

Compound nouns

Japanese chains nouns without separators — 個人情報保護管理者 is one string containing at least three meaningful units. Where the entity stops is a decision, not a fact.

How we handle it The guideline sets a maximal-span or minimal-span policy per entity type, with nesting where both are genuinely needed, rather than leaving each annotator to choose.

Inflection and attached particles

Verbs and adjectives inflect, and particles attach directly to the words they mark. Including or excluding them shifts span boundaries by one or two characters throughout a corpus.

How we handle it Inflectional endings and attached particles are explicitly in or out of the span by rule, and an automated check flags spans that end inside a token.

Process

How an NLP project runs

Most of the value is created before annotation starts, in the taxonomy and the boundary rules.

  1. 01

    Fix the taxonomy and the tokenizer

    We agree the label set, the analyzer and dictionary, and how spans will be represented, so the annotation matches the pipeline it is destined for.

  2. 02

    Find the edge cases

    A small sample is annotated to surface the genuinely ambiguous constructions in your domain. These become the worked examples in the guideline.

  3. 03

    Calibrate and measure agreement

    Annotators label the same set independently. Agreement is measured on boundaries and labels separately, because they fail for different reasons.

  4. 04

    Annotate and adjudicate

    Production annotation with a review pass, and written adjudication for disagreements that feeds straight back into the guideline.

  5. 05

    Deliver with offsets

    Data ships with character offsets and your chosen tag format, the taxonomy version, per-label counts and the QA report.

Delivery

Formats and representation

Character offsets are always included, whatever surface format you take, so the data can be re-tokenised without being re-annotated.

Common output formats for Japanese NLP annotation.
TaskDefault outputAlso available
Named entitiesJSONL with character offsetsCoNLL-U, BIO / BILOU, brat standoff
Relations and eventsJSONL with span referencesbrat standoff, custom graph JSON
ClassificationJSONL or CSVone-hot or multi-label matrices
SentimentJSONL with aspect spansCSV, per-sentence labels
NLI and similarityJSONL pairsCSV, TSV in benchmark layout

Quality

Controls specific to this work

A span dataset can have excellent label accuracy and unusable boundaries. We measure both.

  • Boundary agreement and label agreement reported as separate figures.
  • Automated validation that no span ends inside a token under the agreed analyzer.
  • Per-label counts tracked per batch, so a rare class thinning out is noticed while it can still be fixed.
  • Nested and overlapping spans validated against the taxonomy’s nesting rules rather than accepted blindly.
  • A gold set annotated by senior reviewers and re-run periodically to detect drift over a long project.
  • Every adjudicated disagreement written back into the guideline as a worked example.

FAQ

About Japanese NLP annotation

The questions that come up when a Japanese span-annotation project is being scoped.

Whichever one your pipeline uses — MeCab with IPAdic or UniDic, Sudachi, Juman++ or a subword tokenizer from your own model. We fix it at kickoff because span boundaries only align to one segmentation, and we store character offsets underneath so a later change of analyzer is a re-export rather than a re-annotation.

Yes, and we would rather adopt yours than impose ours. What we will do is stress-test it on a sample first: existing taxonomies usually have two or three categories that turn out to overlap in practice, and finding that during a pilot is much cheaper than finding it after fifty thousand items.

It depends entirely on the task. Clear-cut entity types on clean text reach high agreement quickly; aspect-based sentiment and fine-grained intent taxonomies do not, and a project claiming otherwise is usually measuring something easier than what it delivers. We report the actual figure per label from the pilot, and if a category cannot reach usable agreement we will say so and propose changing the category.

Yes, where the taxonomy genuinely needs them — Japanese compound nouns and organisation names are the usual reason. Nesting rules are written into the guideline and validated automatically, because nesting that is allowed but not specified is a reliable source of inconsistency.

Yes. Correcting model output is efficient for high-volume work, with the same caveat as everywhere else: correction passes tend to inherit the model’s blind spots. We measure the correction pass against a from-scratch sample so you know what it is actually catching, and for evaluation sets we annotate from scratch.

Text & NLP

Bring the taxonomy. We will find its edge cases.

Send a label set and a sample of real Japanese text. We annotate a pilot, report boundary and label agreement, and tell you which categories will not hold up at volume.

NDA before you share any data. Pilot scoping is free.