de.tudarmstadt.ukp.jwktl.parser.de.components
Class DEEntryFactory

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.entry.EntryFactory
      extended by de.tudarmstadt.ukp.jwktl.parser.de.components.DEEntryFactory

public class DEEntryFactory
extends EntryFactory

Extract POS and inflections.


Field Summary
protected static Map<String,PartOfSpeech> posMap
           
 
Constructor Summary
DEEntryFactory()
          Default constructor.
 
Method Summary
 PartOfSpeech findPartOfSpeech(String name)
          Converts the given string into a part of speech enum type.
 
Methods inherited from class de.tudarmstadt.ukp.jwktl.parser.entry.EntryFactory
createEntry, findEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

posMap

protected static final Map<String,PartOfSpeech> posMap
Constructor Detail

DEEntryFactory

public DEEntryFactory()
Default constructor. Init embedded language factory and extend it to allow mapping between German name and English language name. Two approaches of mapping is utilized. One is to load a mapping file located in lang/language_de.properties. Another is based on the consideration that two languages should have the same language codes. So the two language code file langugage_code.en and language_code.de are used to map two language names with identical code together.

Method Detail

findPartOfSpeech

public PartOfSpeech findPartOfSpeech(String name)
Description copied from class: EntryFactory
Converts the given string into a part of speech enum type.

Specified by:
findPartOfSpeech in class EntryFactory


Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.