public class PunctEquivalenceClasser
extends java.lang.Object
PTB punctuation POS tag set (12 tags): 37. # Pound sign 38. $ Dollar sign 39. . Sentence-final punctuation 40. , Comma 41. : Colon, semi-colon 42. ( Left bracket character 43. ) Right bracket character 44. " Straight double quote 45. ` Left open single quote 46. " Left open double quote 47. ' Right close single quote 48. " Right close double quote
See http://www.ldc.upenn.edu/Catalog/docs/LDC95T7/cl93.html
Constructor and Description |
---|
PunctEquivalenceClasser() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPunctClass(java.lang.String punc)
Return the equivalence class of the argument.
|
public static java.lang.String getPunctClass(java.lang.String punc)
punc
-