org.dbpedia.extraction

dataparser

package dataparser

Visibility
  1. Public
  2. All

Type Members

  1. abstract class DataParser extends Serializable

    Extracts data from a node in the abstract syntax tree.

    Extracts data from a node in the abstract syntax tree. The type of the data which is extracted depends on the specific parser e.g. The IntegerParser extracts integers.

  2. class DateTimeParser extends DataParser

    Parses a data time.

  3. class DoubleParser extends DataParser

    Parses double-precision floating-point numbers.

  4. class DurationParser extends Serializable

  5. class EnumerationParser extends DataParser

    Parses enumerations.

  6. class FlagTemplateParser extends DataParser

    Handling of flag templates.

  7. class GeoCoordinate extends AnyRef

    Represents a geographical location determined by latitude and longitude coordinates.

    Represents a geographical location determined by latitude and longitude coordinates.

    Exceptions thrown
    IllegalArgumentException

    if the given parameters do not denote a valid coordinate

  8. class GeoCoordinateParser extends DataParser

    Parses geographical coordinates.

  9. class IntegerParser extends DataParser

    Parses integer numbers.

  10. class Latitude extends SingleGeoCoordinate

    RepresenRepresents the latitude component of geographical coordinates.

    RepresenRepresents the latitude component of geographical coordinates.

    Exceptions thrown
    IllegalArgumentException

    if the given parameters do not denote a valid coordinate

  11. class LinkParser extends DataParser

    Parses external links.

  12. class Longitude extends SingleGeoCoordinate

    Represents the longitude component of geographical coordinates.

    Represents the longitude component of geographical coordinates.

    Exceptions thrown
    IllegalArgumentException

    if the given parameters do not denote a valid coordinate

  13. class ObjectParser extends DataParser

    Parses links to other instances.

  14. case class ParseResult[T](value: T, lang: Option[Language] = None, unit: Option[Datatype] = None) extends Product with Serializable

  15. class ParserUtils extends Serializable

    Utility functions used by the data parsers.

  16. trait SingleGeoCoordinate extends AnyRef

  17. class SingleGeoCoordinateParser extends DataParser

    Parses a single geographical coordinate, ie.

    Parses a single geographical coordinate, ie. either a latitude or a longitude.

  18. class ThreadLocalSerializable[T] extends ThreadLocal[T] with Serializable

  19. class UnitValueParser extends DataParser

Value Members

  1. object BooleanParser extends DataParser

    Returns true for strings that contain "true" or "yes" (only as isolated terms), false for strings that contain "false" or "no" (only as isolated terms), and None for other strings.

    Returns true for strings that contain "true" or "yes" (only as isolated terms), false for strings that contain "false" or "no" (only as isolated terms), and None for other strings. TODO: also look for "0"/"1"? "on"/"off"?

  2. object StringParser extends DataParser

    Parses a human-readable character string from a node.

Ungrouped