public class POSAccentPriorities extends Object
| Constructor and Description |
|---|
POSAccentPriorities(String propertiesFilename) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority(String pos)
Provide the priority of a part-of-speech for getting an accent.
|
boolean |
getsUnconditionalAccent(String pos)
Determine whether a part-of-speech always gets an accent.
|
boolean |
moreAccentuated(String posA,
String posB)
Determine whether one part-of-speech is more likely to get an accent than another one.
|
public POSAccentPriorities(String propertiesFilename) throws IOException
IOExceptionpublic boolean getsUnconditionalAccent(String pos)
pos - pospublic boolean moreAccentuated(String posA, String posB)
posA - posAposB - posBpublic int getPriority(String pos)
pos - posCopyright © 2000–2016 DFKI GmbH. All rights reserved.