Uses of Enum Class
opennlp.tools.document.Document.DuplicateLayerPolicy
Packages that use Document.DuplicateLayerPolicy
-
Uses of Document.DuplicateLayerPolicy in opennlp.tools.document
Methods in opennlp.tools.document that return Document.DuplicateLayerPolicyModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Document.DuplicateLayerPolicy[]Document.DuplicateLayerPolicy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in opennlp.tools.document with parameters of type Document.DuplicateLayerPolicyModifier and TypeMethodDescription(package private) static voidDocumentMerges.checkDuplicateLayer(Document base, LayerKey<?> layer, Document other, Document.DuplicateLayerPolicy duplicateLayers) Checks that a layer present on both documents of a merge can be kept as it is.(package private) static voidDocumentMerges.checkMergeable(Document document, Document other, Document.DuplicateLayerPolicy duplicateLayers) Checks the arguments of a merge.default DocumentDocument.merge(Document other, Document.DuplicateLayerPolicy duplicateLayers) Returns a document combining this document's layers with another document's layers over the same text, resolving duplicate layer keys withduplicateLayers.ImmutableDocument.merge(Document other, Document.DuplicateLayerPolicy duplicateLayers) Returns a document combining this document's layers with another document's layers over the same text, resolving duplicate layer keys withduplicateLayers.