entries

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Copyright 2025 National Technology and Engineering Solutions of Sandia SPDX-License-Identifier: BSD-3-Clause

Copyright 2025 National Technology and Engineering Solutions of Sandia SPDX-License-Identifier: BSD-3-Clause

Copyright 2025 National Technology and Engineering Solutions of Sandia SPDX-License-Identifier: BSD-3-Clause

Index

Constants

View Source
const (
	KindBook                  string = "book"
	KindScientificPublication string = "scientific_publication"
	KindSoftwarePackage       string = "software_package"
	KindUnknown               string = "unknown"
	KindWebsite               string = "website"
)

Variables

This section is empty.

Functions

func ExtractArxiv added in v0.3.0

func ExtractArxiv(text string) string

func ExtractDOI added in v0.3.0

func ExtractDOI(text string) string

func ExtractOSTI added in v0.3.0

func ExtractOSTI(text string) string

Types

type Authors added in v0.2.0

type Authors struct {
	Authors    []string `json:"authors"`
	Incomplete bool     `json:"has_et_al"`
}

type Classifier

type Classifier interface {
	Classify(text string) (string, error)
}

type Online added in v0.2.0

type Online struct {
	Title   string   `json:"title"`
	Authors []string `json:"authors"`
	URL     string   `json:"url"`
}

type Parser

type Parser interface {
	ParseURL(entry string) (string, error)
	ParseOnline(entry string) (*Online, error)

	ParseAuthors(entry string) (*Authors, error)
	ParseTitle(entry string) (string, error)
	ParsePub(entry string) (string, error)
}

type Software

type Software struct {
	Name        string   `json:"name"`
	Developers  []string `json:"developers"`
	HomepageUrl string   `json:"homepage_url"`
}

Jump to

Keyboard shortcuts

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