class Corenlp::Punctuation

Constants

CURRENCY_SYMBOLS

From www.unicode.org/charts/PDF/U20A0.pdf

DASH_SYMBOLS
OPENING_SYMBOLS

Public Instance Methods

currency?() click to toggle source
# File lib/corenlp/punctuation.rb, line 8
def currency?
  CURRENCY_SYMBOLS.include?(text)
end
dash?() click to toggle source
# File lib/corenlp/punctuation.rb, line 12
def dash?
  DASH_SYMBOLS.include?(text)
end
opening?() click to toggle source
# File lib/corenlp/punctuation.rb, line 16
def opening?
  OPENING_SYMBOLS.include?(text)
end