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 |
GeoPoint |
addPoint(String longitude,
String latitude,
Double altitude,
String continent,
String country,
String capital,
List<Token> entityTokens)
|
GeoPoint |
addPoint(String longitude,
String latitude,
Double altitude,
String continent,
String country,
String capital,
Token entityToken)
|
GeoCapitalFormat |
getCapitalFormat()
|
GeoContinentFormat |
getContinentFormat()
|
GeoLongLatFormat |
getCoordinatesFormat()
|
GeoCountryFormat |
getCountryFormat()
|
GeoPoint |
getPoint(int index)
|
GeoPoint |
getPoint(Token token)
|
String |
getSource()
|
Token[] |
getTokens(GeoPoint point)
|
getCoordinatesFormat
GeoLongLatFormat getCoordinatesFormat()
getContinentFormat
GeoContinentFormat getContinentFormat()
getCountryFormat
GeoCountryFormat getCountryFormat()
getCapitalFormat
GeoCapitalFormat getCapitalFormat()
getSource
String getSource()
getPoint
GeoPoint getPoint(int index)
getPoint
GeoPoint getPoint(Token token)
getTokens
Token[] getTokens(GeoPoint point)
addPoint
GeoPoint addPoint(String longitude,
String latitude,
Double altitude,
String continent,
String country,
String capital,
Token entityToken)
addPoint
GeoPoint addPoint(String longitude,
String latitude,
Double altitude,
String continent,
String country,
String capital,
List<Token> entityTokens)
Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.