Class/Object

com.johnsnowlabs.nlp.annotators.sbd.pragmatic

PragmaticContentFormatter

Related Docs: object PragmaticContentFormatter | package pragmatic

Permalink

class PragmaticContentFormatter extends AnyRef

rule-based formatter that adds regex rules to different marking steps Symbols protect from ambiguous bounds to be considered splitters

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PragmaticContentFormatter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PragmaticContentFormatter(text: String)

    Permalink

    text

    text to tag, which is modified in place with Symbols

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def finish: String

    Permalink

    ToDo: NOT DOING replace_parens IN LISTS

  10. def formatAbbreviations(useDictAbbreviations: Boolean): PragmaticContentFormatter.this.type

    Permalink

    Find abbreviations in non sentence breaks regex should match escape character replace with non separation symbol

  11. def formatBasicBreakers: PragmaticContentFormatter.this.type

    Permalink
  12. def formatBetweenPunctuations: PragmaticContentFormatter.this.type

    Permalink

    Find punctuation rules NON-BREAKING characters regex should match entire wrapped sentence protect entire sentence

  13. def formatCustomBounds(factory: RuleFactory): PragmaticContentFormatter.this.type

    Permalink

    Arbitrarely mark bounds with user provided characters

  14. def formatEllipsisRules: PragmaticContentFormatter.this.type

    Permalink

    Find ellipsis BREAKING characters WITH REPLACEMENT regex should match the ellipsis replace with non breaking symbol

  15. def formatExclamationPoint: PragmaticContentFormatter.this.type

    Permalink

    Specific cases for exclamation marks regex should match exclamation mark replace with symbol

  16. def formatGeoLocations: PragmaticContentFormatter.this.type

    Permalink

    Find specific coordinates non-breaking characters regex should match non breaking symbol replace with non breaking symbol

  17. def formatLists(useLists: Boolean): PragmaticContentFormatter.this.type

    Permalink

    Find simple lists regex should match entire enumeration prepend separation symbol

  18. def formatMultiplePeriods: PragmaticContentFormatter.this.type

    Permalink

    Find sentence multiple non-breaking character regex should match group 2 as symbol replace with symbol

  19. def formatNumbers: PragmaticContentFormatter.this.type

    Permalink

    Find numbers in non sentence breaks regex should match escape character replace with non separation symbol

  20. def formatPunctuations: PragmaticContentFormatter.this.type

    Permalink

    Find sentence breaking symbols regex should match entire symbol append end breaking symbol

  21. def formatQuotationMarkInQuotation: PragmaticContentFormatter.this.type

    Permalink

    Specific case for question mark in quotes regex should match question mark replace with symbol

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped