Package org.apache.uima.caseditor.core.model

Examples of org.apache.uima.caseditor.core.model.CorpusElement


        }
      }

      // TODO: refactor this here
      if (!corpora.isEmpty()) {
        CorpusElement aCorpus = corpora.getFirst();
        NlpProject project = aCorpus.getNlpProject();

        Collection<CasProcessorFolder> sourceFolders = project.getCasProcessorFolders();

        for (CasProcessorFolder sourceFolder : sourceFolders) {
View Full Code Here


     * Retrieves all documents (children) of the current
     * CorpusElement instance.
     */
    public Object[] getChildren(Object o)
    {
        CorpusElement corpus = (CorpusElement) o;
       
        DocumentElement[] documentElements = new DocumentElement[corpus
                .getDocuments().size()];
       
        return corpus.getDocuments().toArray(documentElements);
    }
View Full Code Here

        }
      }

      // TODO: refactor this here
      if (!corpora.isEmpty()) {
        CorpusElement aCorpus = corpora.getFirst();
        NlpProject project = aCorpus.getNlpProject();

        Collection<CasProcessorFolder> sourceFolders = project.getCasProcessorFolders();

        for (CasProcessorFolder sourceFolder : sourceFolders) {
View Full Code Here

     * Retrieves all documents (children) of the current
     * CorpusElement instance.
     */
    public Object[] getChildren(Object o)
    {
        CorpusElement corpus = (CorpusElement) o;

        DocumentElement[] documentElements = new DocumentElement[corpus
                .getDocuments().size()];

        return corpus.getDocuments().toArray(documentElements);
    }
View Full Code Here

TOP

Related Classes of org.apache.uima.caseditor.core.model.CorpusElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.