Added DSL-like interface for extractors

Added an interface like morph.parser.Interface for extractors.