Documentation ¶
Index ¶
- func Connect(databaseName string, create bool)
- func ExtractNewsLine(content string) []string
- func GetCountOfTitles() int
- func GetIdsOfTrigram(trigram string) []int
- func GetNewsTitle(id int) string
- func GetTrigramsByTitle(title string) []ai.Vector_element
- func InitializeDatabase(user string, passwd string)
- func ParseFile(filename string)
- func PostNews(title string) int
- func PutTrigram(trigram string, id int)
- func ReadFile(fileName string) string
- func RegSplit(text string, delimeter string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractNewsLine ¶
func GetCountOfTitles ¶
func GetCountOfTitles() int
func GetTrigramsByTitle ¶
func GetTrigramsByTitle(title string) []ai.Vector_element
func InitializeDatabase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.