youdao

package
v0.0.0-...-348b0d6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHTML

func ParseHTML(html io.Reader) (*base.Word, error)

Types

type Dict

type Dict struct {
}

func NewDict

func NewDict() *Dict

func (*Dict) LookUp

func (y *Dict) LookUp(word string) *base.Word

type Parser

type Parser interface {
	Parse(r io.Reader) (*base.Word, error)
}

type ParserFunc

type ParserFunc func(r io.Reader) (*base.Word, error)

func (ParserFunc) Parse

func (f ParserFunc) Parse(r io.Reader) (*base.Word, error)

Jump to

Keyboard shortcuts

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