konlp.tag package


konlp.tag.api module

Korean Natural Language Toolkit tagger interface

class konlp.tag.api.TaggerI[source]

Bases: object

Tagger Interface


Attach the appropriate tag in the given token sequence.

Parameters:tokens (list(str)) – Token sequence
Returns:The first string is token, the second string is tag
Return type:list(tuple(str, str))
Raises:NotImplementedError – If not implement this method on a class that extends this class

Module contents

we are preparing this module