public class SpecialZoner extends Object
| Constructor and Description |
|---|
SpecialZoner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
findDateline(Document doc,
int textOffset,
String text)
finds datelines in newswire texts, and marks them with a
dateline annotation.
|
static void |
findSpecialZones(Document doc)
marks datelines and textBreaks (blank lines and rules) within the
TEXT annotation of Document 'doc'.
|
static void |
findTextBreaks(Document doc,
int textOffset,
String text)
finds text breaks marked by double blank lines or by lines consisting entirely
of "-", "~", and "_" characters, and marks the line with a textBreak
annotation.
|
public static void findSpecialZones(Document doc)
public static void findDateline(Document doc, int textOffset, String text)
Copyright © 2016 New York University. All rights reserved.