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 GeoPointaddPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token entityToken)GeoPointaddPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, List<Token> entityTokens)GeoCapitalFormatgetCapitalFormat()GeoContinentFormatgetContinentFormat()GeoLongLatFormatgetCoordinatesFormat()GeoCountryFormatgetCountryFormat()GeoPointgetPoint(int index)GeoPointgetPoint(Token token)StringgetSource()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)
-
-