Class HyphenWordsDictionary
- java.lang.Object
-
- edu.upf.taln.dri.common.connector.pdfext.localappo.HyphenWordsDictionary
-
public class HyphenWordsDictionary extends Object
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
hyphenWordsDictionary
-
Constructor Summary
Constructors Constructor Description HyphenWordsDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkExistsHyphenWord(String hypenWordCandidate)
Gets the frequency of a wordvoid
loadHyphenWordsDictionary()
Loads a file with hyphenated compound words in memory Format of the file: Word-withhyphens1\n Word-withhyphens2\n ..
-
-
-
Method Detail
-
loadHyphenWordsDictionary
public void loadHyphenWordsDictionary()
Loads a file with hyphenated compound words in memory Format of the file: Word-withhyphens1\n Word-withhyphens2\n .. Word-withhyphensN\n
-
checkExistsHyphenWord
public boolean checkExistsHyphenWord(String hypenWordCandidate)
Gets the frequency of a word
-
-