Class Contexts.SpacyContext

java.lang.Object
pro.verron.officestamper.test.Contexts.SpacyContext
Enclosing class:
Contexts

public static class Contexts.SpacyContext extends Object
A static inner class representing a Spacy context.
  • Constructor Details

    • SpacyContext

      public SpacyContext()
  • Method Details

    • getExpressionWithLeadingAndTrailingSpace

      public String getExpressionWithLeadingAndTrailingSpace()
      Retrieves the expression with leading and trailing spaces.
      Returns:
      The expression with leading and trailing spaces.
    • getExpressionWithLeadingSpace

      public String getExpressionWithLeadingSpace()
      Retrieves the expression with a leading space.
      Returns:
      The expression with a leading space.
    • getExpressionWithTrailingSpace

      public String getExpressionWithTrailingSpace()
      Retrieves the expression with a trailing space.
      Returns:
      The expression with a trailing space.
    • getExpressionWithoutSpaces

      public String getExpressionWithoutSpaces()
      Retrieves the expression without spaces.
      Returns:
      The expression without spaces.