Documentation ¶
Overview ¶
Package compactcorpus provides a reader and writer for corpora in the compact Alpino format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Corpus ¶
type Corpus struct {
// contains filtered or unexported fields
}
func Open ¶
Open a compact corpus for reading in simple mode.
Use this version if you want to retrieve most or all items from the corpus, and if you have enough memory to unpack the complete corpus into memory. Otherwise, use: RaOpen()
type RaCorpus ¶
type RaCorpus struct {
// contains filtered or unexported fields
}
func RaOpen ¶
Open a compact corpus for reading in random access mode.
You need to call Close() when you are done.
Use this version if you want to retrieve only a few items from the corpus, or if you don't have enough memory to unpack the complete corpus into memory. Otherwise, use: Open()
func (*RaCorpus) Close ¶
func (c *RaCorpus) Close()
Close the corpus. This is necessary for freeing files
type RaRange ¶
type RaRange struct {
// contains filtered or unexported fields
}
type Range ¶
type Range struct {
// contains filtered or unexported fields
}