Skip to content
Nagyfi Richárd edited this page May 9, 2018 · 12 revisions
from lara import parser

koszonto	= " Üdvözöllek! Ezen a wikilapon a Lara használatáról olvashatsz! "

tartalom	= {
	"wiki"	: [{"stem":"wiki", "affix":["pédia","cikk","lap","oldal"], "wordclass":"noun"}],
	"read"	: [{"stem":"olvas", "wordclass":"verb"}]
}
egyezes		= parser.Intents(tartalom).match_set(koszonto)
print(egyezes)

>>> {'read', 'wiki'}

If you are new to Lara read this summary first, before getting started.

Wiki articles marked with 🇭🇺 are in Hungarian language.

Documentation

Examples

Participating in development

Feel free to use Lara in your Hungarian Chatbot solutions. You can always initialize a pull request or submit a new issue to let us know about a bug. For functions yet to be implemented, see the to do list .

If you use Lara in one of your Chatbot projects, let us know!

Clone this wiki locally