Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple Python Statistical Parser

License

NotificationsYou must be signed in to change notification settings

emilmont/pyStatParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python statistical (CKY) parser together with scripts for learning the PCFG from the QuestionBank and Penn treebanks.

>>>fromstat_parserimportParser>>>parser=Parser()>>>printparser.parse("How can the net amount of entropy of the universe be massively decreased?")(SBARQ  (WHADVP (WRBhow))  (SQ    (MDcan)    (NP      (NP (DTthe) (JJnet) (NNamount))      (PP        (INof)        (NP          (NP (NNSentropy))          (PP (INof) (NP (DTthe) (NNuniverse))))))    (VP (VBbe) (ADJP (RBmassively) (VBNdecreased))))  (. ?))

About

Simple Python Statistical Parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp