Tabnine Logo
Link$type
Code IndexAdd Tabnine to your IDE (free)

How to use
Link$type
in
de.tudarmstadt.ukp.wikipedia.parser

Best Java code snippets using de.tudarmstadt.ukp.wikipedia.parser.Link$type (Showing top 3 results out of 315)

origin: dkpro/dkpro-jwpl

if (!l.getType().equals(Link.type.EXTERNAL) && !l.getType().equals(Link.type.IMAGE)
    && !l.getType().equals(Link.type.AUDIO) && !l.getType().equals(Link.type.VIDEO)
    && !targetTitle.contains(":")) // Wikipedia titles only contain colons if they
origin: dkpro/dkpro-core

int end = 0;
for (Link link : pp.getLinks()) {
  if (allowedLinkTypeList.contains(link.getType().name())) {
    wikipediaLink.setBegin(0);
    wikipediaLink.setEnd(1);
    wikipediaLink.setLinkType(link.getType().name());
    wikipediaLink.setTarget(link.getTarget());
    wikipediaLink.setAnchor(link.getText());
origin: shilad/wikibrain

private Title link2Title(Link link) {
  if (link.getType().equals(Link.type.INTERNAL) || link.getType().equals(Link.type.UNKNOWN)) {
    return new Title(link.getTarget(), lang);
  } else {
    return null;
  }
}
de.tudarmstadt.ukp.wikipedia.parserLink$type

Most used methods

  • equals
  • name

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Reference (javax.naming)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTextField (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now