MCPcopy Create free account
hub / github.com/GateNLP/gate-core / init

Method init

src/main/java/gate/corpora/CorpusImpl.java:326–332  ·  view source on GitHub ↗

Initialise this resource, and return it.

()

Source from the content-addressed store, hash-verified

324
325 /** Initialise this resource, and return it. */
326 @Override
327 public Resource init() {
328 if(documentsList != null && !documentsList.isEmpty()) {
329 addAll(documentsList);
330 }
331 return this;
332 } // init()
333
334 /**
335 * Fills the provided corpus with documents created on the fly from

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected