Uses of Enum Class
opennlp.tools.document.Document.DuplicateLayerPolicy
Packages that use Document.DuplicateLayerPolicy
-
Uses of Document.DuplicateLayerPolicy in opennlp.tools.document
Subclasses with type arguments of type Document.DuplicateLayerPolicy in opennlp.tools.documentModifier and TypeClassDescriptionstatic enumHowDocument.merge(Document, DuplicateLayerPolicy)treats a layer key that is present on both documents.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 TypeMethodDescriptiondefault DocumentDocument.merge(Document other, Document.DuplicateLayerPolicy duplicateLayers) Returns a new document combining this document's layers with another document's layers over the same text, resolving duplicate layer keys withduplicateLayers.