Skip to content

nsu-ai/Chunker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Chunker

This is the module for using the pre-trained syntax analysis system for the russian language. It is based on Conditional Random Fields and morpho-tagger from deeppavlov

This module provides two ways of chunking: for txt and for the sentences You can download the model here

f = Chunker('path to the crf model')

For txt use the function:

chunked_text = f.predict_file("myfile.txt")

For the sentence use:

chunked_sentence = f.predict_sentence("Какие красивые деревья!")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages