• API

    Show / Hide Table of Contents

    Class MorphosyntacticTagsAttribute

    Morphosyntactic annotations for surface forms.

    Inheritance
    System.Object
    Lucene.Net.Util.Attribute
    MorphosyntacticTagsAttribute
    Implements
    IMorphosyntacticTagsAttribute
    Lucene.Net.Util.IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Lucene.Net.Util.Attribute.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Analysis.Morfologik.TokenAttributes
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public class MorphosyntacticTagsAttribute : Attribute, IMorphosyntacticTagsAttribute, IAttribute

    Constructors

    | Improve this Doc View Source

    MorphosyntacticTagsAttribute()

    Initializes this attribute with no tags

    Declaration
    public MorphosyntacticTagsAttribute()

    Properties

    | Improve this Doc View Source

    Tags

    Gets or sets the POS tag of the term. If you need a copy of this char sequence, copy its contents (and clone System.Text.StringBuilders) because it changes with each new term to avoid unnecessary memory allocations.

    Declaration
    public virtual IList<StringBuilder> Tags { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.Text.StringBuilder>

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Lucene.Net.Util.Attribute.Clear()
    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    Lucene.Net.Util.Attribute.Clone()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    Lucene.Net.Util.IAttribute target
    Overrides
    Lucene.Net.Util.Attribute.CopyTo(Lucene.Net.Util.IAttribute)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ReflectWith(IAttributeReflector)

    Declaration
    public override void ReflectWith(IAttributeReflector reflector)
    Parameters
    Type Name Description
    Lucene.Net.Util.IAttributeReflector reflector
    Overrides
    Lucene.Net.Util.Attribute.ReflectWith(Lucene.Net.Util.IAttributeReflector)

    Implements

    IMorphosyntacticTagsAttribute
    Lucene.Net.Util.IAttribute

    See Also

    IMorphosyntacticTagsAttribute
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)