Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FileType2FileTypeName 文件类型到文件类型名之间的映射 FileType2FileTypeName = map[pb.DocType]string{ pb.DocType_HTMLDoc: "html", pb.DocType_TextDoc: "text", } // FileType2FileSuffix 文件类型到文件后缀之间的映射 FileType2FileSuffix = map[pb.DocType]string{ pb.DocType_HTMLDoc: "html", pb.DocType_TextDoc: "txt", } )
Functions ¶
This section is empty.
Types ¶
type ConcordanceChannel ¶
type ConcordanceChannel (chan *ConcordanceWrapper)
ConcordanceChannel 用于传输ConcordanceWrapper
type ConcordanceWrapper ¶
ConcordanceWrapper 封装concordance
type LanguageType ¶
type LanguageType int
LanguageType 语种类型
const ( // LanguageTypeEnglish 英语语种类型 LanguageTypeEnglish LanguageType = 0 // LanguageTypeChinsese 中文语种类型 LanguageTypeChinsese LanguageType = 1 )
Click to show internal directories.
Click to hide internal directories.