Skip to main content
Ctrl+K
Spark NLP 6.2.0 documentation - Home

Site Navigation

  • Getting Started
  • User Guide
  • Third Party Projects
  • API Reference

Site Navigation

  • Getting Started
  • User Guide
  • Third Party Projects
  • API Reference

Section Navigation

  • sparknlp.common.annotator_approach
  • sparknlp.common.annotator_model
  • sparknlp.common.annotator_properties
  • sparknlp.common.annotator_type
  • sparknlp.common.completion_post_processing
  • sparknlp.common.coverage_result
  • sparknlp.common.match_strategy
  • sparknlp.common.properties
  • sparknlp.common.read_as
  • sparknlp.common.recursive_annotator_approach
  • sparknlp.common.storage
  • sparknlp.common.utils

sparknlp.common.completion_post_processing#

Module Contents#

Classes#

CompletionPostProcessing

class CompletionPostProcessing[source]#
removeThinkingTag[source]#
setRemoveThinkingTag(value: str)[source]#

Set a thinking tag (e.g. think) to be removed from output. Will produce the regex: (?s)<$TAG>.+?</$TAG>

getRemoveThinkingTag()[source]#

Get the thinking tag to be removed from output.

On this page
  • Module Contents
    • Classes
      • CompletionPostProcessing
        • CompletionPostProcessing.removeThinkingTag
        • CompletionPostProcessing.setRemoveThinkingTag()
        • CompletionPostProcessing.getRemoveThinkingTag()
Show Source

© Copyright 2025 John Snow Labs.

Created using Sphinx 7.1.2.

Built with the PyData Sphinx Theme 0.14.4.