Package eu.clarin.weblicht.wlfxb.tc.api
Interface GeoLayer
-
- All Superinterfaces:
TextCorpusLayer
- All Known Implementing Classes:
GeoLayerStored
public interface GeoLayer extends TextCorpusLayer
The GeoLayer layer represents annotations for geographical locations. A token, or sequence of tokens, for which a geographical location can be identified, is annotated with longitude and latitude coordinates, optionally altitude, continent, country and capital. At the layer level, the attributes specify which format is used as longitude, latitude, continent, country and capital values of a geographical point.- Author:
- Yana Panchenko
-
-
Method Summary
Modifier and Type Method Description GeoPoint
addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token entityToken)
GeoPoint
addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, List<Token> entityTokens)
GeoCapitalFormat
getCapitalFormat()
GeoContinentFormat
getContinentFormat()
GeoLongLatFormat
getCoordinatesFormat()
GeoCountryFormat
getCountryFormat()
GeoPoint
getPoint(int index)
GeoPoint
getPoint(Token token)
String
getSource()
Token[]
getTokens(GeoPoint point)
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.TextCorpusLayer
isEmpty, size
-
-
-
-
Method Detail
-
getCoordinatesFormat
GeoLongLatFormat getCoordinatesFormat()
-
getContinentFormat
GeoContinentFormat getContinentFormat()
-
getCountryFormat
GeoCountryFormat getCountryFormat()
-
getCapitalFormat
GeoCapitalFormat getCapitalFormat()
-
getSource
String getSource()
-
getPoint
GeoPoint getPoint(int index)
-
addPoint
GeoPoint addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token entityToken)
-
-