public class AbbreviationScheme extends Object
| Constructor and Description |
|---|
AbbreviationScheme(org.openrdf.model.URI id,
AbbreviationConfig config)
Create a new AbbreviationScheme.
|
| Modifier and Type | Method and Description |
|---|---|
String |
abbreviate(String text) |
void |
add(Abbreviation abbrev) |
Abbreviation |
getAbbreviationByPrefLabel(String prefLabel) |
org.openrdf.model.URI |
getId() |
public AbbreviationScheme(org.openrdf.model.URI id,
AbbreviationConfig config)
id - A URI that identifies the scheme.config - Configuration that specifies the allowed word delimiters and the preferred delimiter.public org.openrdf.model.URI getId()
public void add(Abbreviation abbrev)
public Abbreviation getAbbreviationByPrefLabel(String prefLabel)
Copyright © 2019. All rights reserved.