Click or drag to resize

grammaticTagCollection Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

[This is preliminary documentation and is subject to change.]

Collection of POS enumeration flags, accessible by Type of Enum.
Inheritance Hierarchy
SystemObject
  imbNLP.PartOfSpeech.resourceProviders.coregrammaticTagCollection

Namespace:  imbNLP.PartOfSpeech.resourceProviders.core
Assembly:  imbNLP.PartOfSpeech (in imbNLP.PartOfSpeech.dll) Version: 0.2.18
Syntax
C#
[SerializableAttribute]
public class grammaticTagCollection

The grammaticTagCollection type exposes the following members.

Constructors
  NameDescription
Public methodgrammaticTagCollection
Initializes a new instance of the grammaticTagCollection class
Top
Properties
  NameDescription
Public propertycomment
Public propertyHasError
Protected propertyitems
Grammatic tags by POS enumeration type
Top
Methods
  NameDescription
Public methodAdd
Adds the specified tag to the collection
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet(Type)
Gets the flag for specified tType
Public methodGetT(T)
Returns flag value for the specified T
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetTags
Returns list with all tags, with distinctive Type. Optionally: returns only tags for types that are specified by forTypes
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representation of the tags contained
Top
Remarks

The tag collection is new imbNLP API structure for morphosyntactic context of a token

The collection is not designed to be serialized, it should be converted to string by a resourceConverterForGramaticTags instance before saved.

See Also