Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorComponent ¶
type BibliographicInfoComponent ¶
type BibliographicInfoComponent struct { ProjectUrl string `xml:"cmdp:projectUrl,omitempty"` Version string `xml:"cmdp:version,omitempty"` Titles formats.MultilangArray `xml:"cmdp:titles>cmdp:title"` Authors []AuthorComponent `xml:"cmdp:authors>cmdp:author"` Dates *DatesComponent `xml:"cmdp:dates,omitempty"` Identifiers []formats.TypedElement `xml:"cmdp:identifiers>cmdp:identifier"` Funds *[]FundingComponent `xml:"cmdp:funding>cmdp:funds,omitempty"` ContactPerson ContactPersonComponent `xml:"cmdp:contactPerson"` Publishers []string `xml:"cmdp:publishers>cmdp:publisher"` }
type CollectionInfoComponent ¶
type CollectionInfoComponent struct { TimePeriods []string `xml:"cmdp:timePeriod,omitempty"` // When the data were gathered, which era do they come from Places []string `xml:"cmdp:place,omitempty"` // The origin of the data. e.g. The data were gathered in Bohemia Forms []string `xml:"cmdp:forms>cmdp:form,omitempty"` // spoken, written,... Genres []string `xml:"cmdp:genres>cmdp:genre,omitempty"` // fiction, news, blog }
type ContactPersonComponent ¶
type DataInfoComponent ¶
type DataInfoComponent struct { Type string `xml:"cmdp:type"` // e.g. corpus, tool DetailedType string `xml:"cmdp:detailedType,omitempty"` // Further specification of the type Description formats.MultilangArray `xml:"cmdp:description"` Languages *[]LanguageComponent `xml:"cmdp:languages>cmdp:language,omitempty"` Keywords *[]string `xml:"cmdp:keywords>cmdp:keyword,omitempty"` Links *[]formats.TypedElement `xml:"cmdp:links>cmdp:link,omitempty"` // demo url, documentation url SizeInfo *[]SizeComponent `xml:"cmdp:sizeInfo>cmdp:size,omitempty"` Formats *[]FormatComponent `xml:"cmdp:formats>cmdp:format,omitempty"` Requirements *[]string `xml:"cmdp:requirements>cmdp:requirement,omitempty"` // e.g. OS, prerequisities CollectionInfo *CollectionInfoComponent `xml:"cmdp:collectionInfo,omitempty"` AnnotationInfo *[]string `xml:"cmdp:annotationInfo>cmdp:annotationType,omitempty"` // tags, lemmas, phrase alignment, coreference, ... }
type DatesComponent ¶
type DatesComponent struct { Dates []formats.TypedElement `xml:"cmdp:date,omitempty"` // type is value scheme DateIssued string `xml:"cmdp:dateIssued,omitempty"` }
type FormatComponent ¶
type FormatComponent struct { Type string `xml:"cmdp:type,attr,omitempty"` Name string `xml:"cmdp:name,omitempty"` Medium string `xml:"cmdp:medium,omitempty"` // text, audio, ... Documentation string `xml:"cmdp:documentation,omitempty"` Description string `xml:"cmdp:description,omitempty"` // e.g. vertical format, where each line is "form/lemma/tag" }
type FundingComponent ¶
type LanguageComponent ¶
type SizeComponent ¶
Click to show internal directories.
Click to hide internal directories.