bibnotes

package
v0.0.159 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Overview

Package for

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BibNotesClient

type BibNotesClient interface {

	// Get references for parallel texts for the given collection file name
	GetParallelRefs(fileName string) []ParellelRef

	// Get references for English translations for the given collection file name
	GetTransRefs(fileName string) []TransRef
}

Load the bibliographic notes database

func LoadBibNotes

func LoadBibNotes(file2RefReader, refNo2ParallelReader, refNo2TransReader io.Reader) (BibNotesClient, error)

Load the bibliographic notes database

type ParellelRef added in v0.0.83

type ParellelRef struct {
	Lang string // Parallel language
	Ref  string // Harvard style citation, may have markup
}

ParellelRef holds information on references for parallel versions of texts These may be Chinese-Chinese, Chinese-Sanskrit, etc)

type TransRef added in v0.0.83

type TransRef struct {
	Kind string // full or partial
	Ref  string // Harvard style citation, may have markup
}

TransRef holds information on references for English translations of texts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL