code
stringlengths
3
1.18M
language
stringclasses
1 value
/** * BeanMapTests * * @author Chris Pratt * * 11/11/2011 */ package com.anodyzed.onyx.bean; import com.anodyzed.onyx.log.LogBuilder; import com.anodyzed.onyx.log.sysout.SysOutLogFactory; import java.io.Serializable; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; i...
Java
/** * TextFormatTests * * @author Chris Pratt * * 9/1/2006 */ package com.anodyzed.onyx.text; import com.anodyzed.onyx.log.LogBuilder; import com.anodyzed.onyx.log.sysout.SysOutLogFactory; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.GregorianCale...
Java
/** * SplayTreeMapTests * * @author Chris Pratt * * 12/11/2011 */ package com.anodyzed.onyx.util; import com.anodyzed.onyx.log.LogBuilder; import com.anodyzed.onyx.log.sysout.SysOutLogFactory; import java.util.Map; import static org.junit.Assert.*; import org.junit.BeforeClass; import org.junit...
Java
/** * ChronoTests * * @author Chris Pratt * * 9/1/2006 */ package com.anodyzed.onyx.util; import java.util.Calendar; import java.util.GregorianCalendar; import static org.junit.Assert.*; import org.junit.Test; public class ChronoTests { /** * Perform a jUnit Test on the Misc test(Date) ...
Java
/** * Base64Tests * * @author Chris Pratt * * 12/18/2008 */ package com.anodyzed.onyx.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import static org.junit.Assert.*; import or...
Java
/** * MiscTests * * @author Chris Pratt * * 9/1/2006 */ package com.anodyzed.onyx.util; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import static org.junit.Assert.*; import org.junit.Test; public class Misc...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.example.android.sherlockdemo; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
Java
package com.example.android.sherlockdemo; import android.accounts.Account; import android.accounts.AccountManager; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.BaseColumns; import android.provider.Contacts.People; import andro...
Java
package com.example.android.sherlockdemo; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.wid...
Java
package com.example.android.sherlockdemo; import java.util.HashMap; import android.content.ContentProvider; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.database.Curso...
Java
package com.example.android.sherlockdemo; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.ActivityInfo; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import and...
Java
package com.example.android.sherlockdemo; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.util.AttributeSet; import android.widget.Checkable; import android.widget.FrameLayout; public class CheckableFrameLayout extends FrameLayout implements Checkable { private boole...
Java
package com.example.android.sherlockdemo; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts.People; import android.support.v4.app.FragmentManager; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android...
Java
package com.example.android.sherlockdemo; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; import android.view.View; import a...
Java
package com.example.android.sherlockdemo; public final class Shakespeare { /** * Our data, part 1. */ public static final String[] TITLES = { "Henry IV (1)", "Henry V", "Henry VIII", "Richard II", "Richard III", "M...
Java
package com.example.android.sherlockdemo; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.actionbarsherlock.app.SherlockActivity; public class MainActivity extends SherlockActivity { /** Called when the activity is first created. */ @Override public void onCr...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Mon May 02 14:12:19 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type.pos; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; im...
Java
/* First created by JCasGen Mon May 02 14:10:48 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Mon May 02 14:11:32 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Mon May 02 14:12:52 CEST 2011 */ package de.tudarmstadt.ukp.dkpro.core.type; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* * TempEval2Reader.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: ...
Java
/* * Eventi2014Reader.java * * Copyright (c) 2014, Database Research Group, Institute of Computer Science, Heidelberg University. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: s...
Java
/** * */ package de.unihd.dbs.uima.reader.tempeval3reader; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.Queue; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import or...
Java
/* * ACETernReader.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: s...
Java
/* * Eventi2014Writer.java * * Copyright (c) 2014, Database Research Group, Institute of Computer Science, Heidelberg University. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: s...
Java
/* * ACETernWriter.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: s...
Java
package de.unihd.dbs.uima.consumer.tempeval3writer; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashSet; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurati...
Java
/* * Tempeval2Writer.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: ...
Java
package de.unihd.dbs.uima.annotator.heideltime; import java.util.EnumMap; import java.util.Iterator; import java.util.Map.Entry; import org.apache.uima.UimaContext; import org.apache.uima.jcas.JCas; import de.unihd.dbs.uima.annotator.heideltime.processors.GenericProcessor; import de.unihd.dbs.uima.annotator.heidelti...
Java
/** * A dedicated Exception type for HeidelTime-based Exceptions. */ package de.unihd.dbs.uima.annotator.heideltime; /** * @author Julian Zell * */ public class HeidelTimeException extends Exception { /** * automatically generated uid */ private static final long serialVersionUID = 5934916764509083459L; pr...
Java
package de.unihd.dbs.uima.annotator.heideltime.utilities; /** * Logger class to facilitate a centralized logging effort. Upon initialization of * the HeidelTime annotator, the verbosity (printDetails) should be set; any kind of * output should be done using either the printDetail()-methods for DEBUG-Level, * condit...
Java
package de.unihd.dbs.uima.annotator.heideltime.utilities; import de.unihd.dbs.uima.annotator.heideltime.HeidelTimeException; public class LocaleException extends HeidelTimeException { /** * default generated uid */ private static final long serialVersionUID = -3573142250219483271L; }
Java
package de.unihd.dbs.uima.annotator.heideltime.utilities; import java.util.List; import java.util.TreeMap; import java.util.regex.MatchResult; import java.util.regex.Pattern; import org.apache.uima.cas.FSIterator; import org.apache.uima.jcas.JCas; import de.unihd.dbs.uima.annotator.heideltime.resources.Language; imp...
Java
package de.unihd.dbs.uima.annotator.heideltime.utilities; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Locale; import de.unihd.dbs.uima.annotator.heideltime.resources.Language; import de.unihd.dbs.uima.annotator.heideltime.resources.NormalizationManag...
Java
package de.unihd.dbs.uima.annotator.heideltime.utilities; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.regex.MatchResult; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * The Toolbox cl...
Java
/* * HeidelTime.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, Heidelberg University. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * email: stroetg...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.TreeMap; import de.unihd.dbs.uima.annotator.heideltime.utilities.Logger; /** * * This class fills the role of a manager o...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.regex.MatchResult; import java.util.regex.Pattern; import de.unihd.dbs.uima.annotator.heideltime.utilities.*; /** * * Thi...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import de.unihd.dbs.uima.annotator.heideltime.utilities.Logger; /** * Hardcoded Language information for use with HeidelTime/Standalone. Contains * information on the resource folder name as well as the relevant treetagger * parameter file and command line ...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.regex.Pattern; /** * Implements a HashMap extended with regular expression keys and cachin...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashMap; import java.util.regex.MatchResult; import java.util.regex.Pattern; import de.unihd.dbs.uima.annotator.heideltime...
Java
package de.unihd.dbs.uima.annotator.heideltime.resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.regex.MatchResult; import java.util.regex.Pattern; import de.unihd.dbs.uima.annotator.heideltime.utilities.Logger; import de...
Java
package de.unihd.dbs.uima.annotator.heideltime.processors; import org.apache.uima.UimaContext; import org.apache.uima.jcas.JCas; /** * * Abstract class to for all Processors to inherit from. A processor is a * modular, self-sufficient piece of code that was added to HeidelTime to * fulfill a specific function. *...
Java
package de.unihd.dbs.uima.annotator.heideltime.processors; import de.unihd.dbs.uima.annotator.heideltime.HeidelTimeException; public class ProcessorProcessingException extends HeidelTimeException { /** * */ private static final long serialVersionUID = 6123306006146166368L; }
Java
package de.unihd.dbs.uima.annotator.heideltime.processors; import de.unihd.dbs.uima.annotator.heideltime.HeidelTimeException; public class ProcessorInitializationException extends HeidelTimeException { /** * */ private static final long serialVersionUID = -4036889037291484936L; }
Java
package de.unihd.dbs.uima.annotator.heideltime.processors; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.uima.Uim...
Java
/* * AnnotationTranslator.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * author: Jannik Strötgen * em...
Java
/** * This is a preprocessing engine for use in a UIMA pipeline. It will invoke * the JVnTextPro api that is supposed to be available in the classpath. */ package de.unihd.dbs.uima.annotator.jvntextprowrapper; import java.io.File; import java.util.LinkedList; import java.util.List; import jmaxent.Classification; i...
Java
/** * This is a preprocessing engine for use in a UIMA pipeline. It will invoke * functions from the Stanford POS Tagger to tokenize words and sentences * and add part of speech tags to the pipeline. */ package de.unihd.dbs.uima.annotator.stanfordtagger; import java.io.File; import java.io.FileInputStream; import ...
Java
package de.unihd.dbs.uima.annotator.intervaltagger; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.regex.MatchResult; import j...
Java
/** * This is a preprocessing engine for use in a UIMA pipeline. It will invoke * the tree-tagger binary that is supposed to be available on the system * through Java process access. */ package de.unihd.dbs.uima.annotator.treetagger; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File...
Java
/** * Settings class with variables and helper methods to use with TreeTaggerWrapper */ package de.unihd.dbs.uima.annotator.treetagger; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /** *...
Java
/* First created by JCasGen Sat Apr 30 11:35:10 CEST 2011 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Sat Apr 30 11:35:10 CEST 2011 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Sat Apr 30 11:35:10 CEST 2011 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Wed May 04 15:59:23 CEST 2011 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Sat Apr 30 11:35:10 CEST 2011 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Thu Sep 20 15:38:14 CEST 2012 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* First created by JCasGen Thu Sep 20 15:38:13 CEST 2012 */ package de.unihd.dbs.uima.types.heideltime; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import...
Java
/* * Config.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik Strötgen ...
Java
/* * DocumentCreationTimeMissingException.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: A...
Java
/* * OutputType.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik Strötge...
Java
/** * A class that contains the detailed information on all of the command line interface * switches entertained by HeidelTimeStandalone. */ package de.unihd.dbs.heideltime.standalone; import java.util.Date; import de.unihd.dbs.uima.annotator.heideltime.resources.Language; /** * @author Julian Zell * */ public...
Java
/** * An enum that contains the POS preprocessing taggers that the HeidelTime * Standalone supports. */ package de.unihd.dbs.heideltime.standalone; /** * @author Julian Zell * */ public enum POSTagger { STANFORDPOSTAGGER, TREETAGGER }
Java
/* * HeidelTimeStandalone.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jann...
Java
/* * ResultFormatter.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik St...
Java
/* * PartOfSpeechTagger.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik...
Java
package de.unihd.dbs.heideltime.standalone.components.impl; import java.util.Properties; import org.apache.uima.analysis_engine.AnalysisEngineProcessException; import org.apache.uima.jcas.JCas; import de.unihd.dbs.heideltime.standalone.components.PartOfSpeechTagger; public class JVnTextProWrapper implements PartOfS...
Java
/* * TreeTaggerWrapper.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik ...
Java
/* * TimeMLResultFormatter.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jan...
Java
/* * JCasFactoryImpl.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik St...
Java
package de.unihd.dbs.heideltime.standalone.components.impl; import java.util.Properties; import org.apache.uima.analysis_engine.AnalysisEngineProcessException; import org.apache.uima.jcas.JCas; import de.unihd.dbs.heideltime.standalone.components.PartOfSpeechTagger; public class StanfordPOSTaggerWrapper implements ...
Java
/* * UimaContextImpl.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik St...
Java
package de.unihd.dbs.heideltime.standalone.components.impl; import java.util.Properties; import org.apache.uima.analysis_engine.AnalysisEngineProcessException; import org.apache.uima.jcas.JCas; import org.apache.uima.resource.ResourceInitializationException; import de.unihd.dbs.heideltime.standalone.components.UIMAA...
Java
/* * XMIResultFormatter.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik...
Java
package de.unihd.dbs.heideltime.standalone.components.impl; import java.io.InputStream; import java.net.URI; import java.net.URL; import java.util.HashMap; import org.apache.uima.UimaContext; import org.apache.uima.cas.AbstractCas; import org.apache.uima.cas.SofaID; import org.apache.uima.resource.ResourceAccessExcep...
Java
package de.unihd.dbs.heideltime.standalone.components; import java.util.Properties; import org.apache.uima.jcas.JCas; /** * Interface for a common UIMA annotator. * * @author Julian Zell, University of Heidelberg */ public interface UIMAAnnotator { /** * Initializes the jcas object. * * @param jcas * ...
Java
/* * JCasFactory.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik Strötg...
Java
/* * DocumentType.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik Ströt...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Java
/* * Copyright (C) 2011 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java