public class TitleTextNormalizer extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap<String,String> |
lowercasedToNormalizedTokensMap |
static String |
pathToBrownClusterForWordFrequencies |
static int |
WindowSize |
Constructor and Description |
---|
TitleTextNormalizer() |
Modifier and Type | Method and Description |
---|---|
static void |
getNeighborhoodWordStatistics(NEWord word,
HashMap<NEWord,Boolean> wordsInMixedCasedSentences,
HashMap<String,CharacteristicWords> uppercasedFormsInMixedCaseNonSentenceStart,
HashMap<String,Boolean> lowecasedForms) |
static void |
init() |
static boolean |
mixedCase(edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector sentence) |
static void |
normalizeCase(Data data) |
static void |
normalizeCaseData(Vector<Data> data) |
public static final int WindowSize
public static String pathToBrownClusterForWordFrequencies
public static void init()
public static void normalizeCase(Data data)
public static void getNeighborhoodWordStatistics(NEWord word, HashMap<NEWord,Boolean> wordsInMixedCasedSentences, HashMap<String,CharacteristicWords> uppercasedFormsInMixedCaseNonSentenceStart, HashMap<String,Boolean> lowecasedForms)
public static boolean mixedCase(edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector sentence)
Copyright © 2017. All rights reserved.