APISonar


zemberek.core.turkish.SecondaryPos.Date

> zemberek > core > turkish > SecondaryPos > Date
zemberek APIs core APIs turkish APIs SecondaryPos APIs Date APIs

Example 1
private boolean apostropheRequired(SingleAnalysis analysis) {
    DictionaryItem item = analysis.getDictionaryItem();
    return (item.secondaryPos == SecondaryPos.ProperNoun && !item.attributes
        .contains(RootAttribute.NoQuote))
        || (item.primaryPos == PrimaryPos.Numeral && item.hasAttribute(RootAttribute.Runtime))
        || item.secondaryPos == SecondaryPos.Date;
  }