--- title: PDF Classification type: templates category: Structured Data Parsing cat: structured-data-parsing order: 510 meta_title: PDF Classification Data Labeling Template meta_description: Template for classifying PDF data with Label Studio for your machine learning and data science projects. --- If you want to perform PDF classification, use this template. This template prompts an annotator to rate a PDF on a 10-star scale, then categorize it. ## Interactive Template Preview
## Labeling Configuration ```html
``` ## About the labeling configuration All labeling configurations must be wrapped in [View](/tags/view.html) tags. You can add a [header](/tags/header.html) to provide instructions to the annotator: ```xml
``` Use the [Rating](/tags/rating.html) control tag to apply a star rating with a scale of 10 to the pdf: ```xml ``` Use the [Choices](/tags/choices.html) control tag to present classification options to the annotator: ```xml ``` Use the [Pdf](/tags/pdf.html) tag to render an inline version of the PDF data: ```xml ``` ### Input data Label Studio does not support labeling PDF-formatted files directly. You should use the `embed` tag inside of your data for pdf loading: ``` { "pdf": "" } ``` ## Related tags - [Rating](/tags/rating.html) - [Choices](/tags/choices.html) - [Pdf](/tags/pdf.html)