[go: nahoru, domu]

Skip to content

A Julia catalog of NLP functionality, like part-of-speech tagging, named-entity recognition, and parsing.

Notifications You must be signed in to change notification settings

mihirparadkar/NLPeterman.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLPeterman

NLPeterman aims to be a package for performant natural language processing.

Usage

Using NLPeterman functionality out of the box requires downloading pre-trained models

import NLPeterman; const NLP = NLPeterman
# Loads the tagger component
tagger = NLP.loadmodel("tagger-en-v0.1.0", "tagger")

After loading the model, create a pipeline for processing text.

pipe = NLP.Pipeline(tagger)
pd = pipe("All work and no play makes Jack a dull boy!")
NLP.uposname.(pd[1])
#=
11-element Array{String,1}:
 "DET"  
 "NOUN" 
 "CCONJ"
 "DET"  
 "NOUN" 
 "VERB" 
 "PROPN"
 "DET"  
 "ADJ"  
 "NOUN" 
 "PUNCT"
=#

Available Models

tagger-en-v0.1.0 : tagger

About

A Julia catalog of NLP functionality, like part-of-speech tagging, named-entity recognition, and parsing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages