All Projects → banyh → PyStanfordNLP

banyh / PyStanfordNLP

Licence: MIT License
A Python Wrapper of Stanford Chinese Segmenter

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PyStanfordNLP

Stanford Openie Python
Stanford Open Information Extraction made simple!
Stars: ✭ 348 (+1947.06%)
Mutual labels:  python-wrapper, stanford
Stanford-NER-Python
Stanford Named Entity Recognizer (NER) - Python Wrapper
Stars: ✭ 63 (+270.59%)
Mutual labels:  python-wrapper, stanford
PySiddhi
Python wrapper for Siddhi engine
Stars: ✭ 22 (+29.41%)
Mutual labels:  python-wrapper
grblas
Python wrapper around GraphBLAS
Stars: ✭ 22 (+29.41%)
Mutual labels:  python-wrapper
STEAD
STanford EArthquake Dataset (STEAD):A Global Data Set of Seismic Signals for AI
Stars: ✭ 139 (+717.65%)
Mutual labels:  stanford
wolfssl-py
Python wrapper for wolfSSL embedded SSL/TLS library.
Stars: ✭ 30 (+76.47%)
Mutual labels:  python-wrapper
stanford-introduction-to-mathematical-thinking
Keith Devlin's Introduction to Mathematical Thinking course on Coursera (2017 Spring)
Stars: ✭ 70 (+311.76%)
Mutual labels:  stanford
gpyfft
python wrapper for the OpenCL FFT library clFFT
Stars: ✭ 52 (+205.88%)
Mutual labels:  python-wrapper
cs229-solutions-2020
Unofficial Stanford's CS229 Machine Learning Problem Solutions (summer edition 2019, 2020).
Stars: ✭ 37 (+117.65%)
Mutual labels:  stanford
cdk pywrapper
A Python wrapper for the Chemistry Development Kit (CDK)
Stars: ✭ 25 (+47.06%)
Mutual labels:  python-wrapper
Parallel.GAMIT
Python wrapper to parallelize GAMIT executions
Stars: ✭ 22 (+29.41%)
Mutual labels:  python-wrapper
datalinguist
Stanford CoreNLP in idiomatic Clojure.
Stars: ✭ 93 (+447.06%)
Mutual labels:  stanford
farasapy
A Python implementation of Farasa toolkit
Stars: ✭ 69 (+305.88%)
Mutual labels:  postagging
mujoco
Python wrapper for MuJoCo physics simulation.
Stars: ✭ 12 (-29.41%)
Mutual labels:  python-wrapper
syntaxnet wrapper
A Python Wrapper for Google SyntaxNet
Stars: ✭ 34 (+100%)
Mutual labels:  python-wrapper
CS330-Stanford-Deep-Multi-Task-and-Meta-Learning
My notes and assignment solutions for Stanford CS330 (Fall 2019 & 2020) Deep Multi-Task and Meta Learning
Stars: ✭ 34 (+100%)
Mutual labels:  stanford
awesome-full-stack-machine-courses
Curated list of publicly accessible machine learning engineering courses from CalTech, Columbia, Berkeley, MIT, and Stanford.
Stars: ✭ 283 (+1564.71%)
Mutual labels:  stanford
How-To-Start-A-Startup
"How to Start a Startup" is the Y Combinator class made by real entrepreneurs
Stars: ✭ 55 (+223.53%)
Mutual labels:  stanford
chess.com
Python wrapper for Chess.com Published-Data API
Stars: ✭ 34 (+100%)
Mutual labels:  python-wrapper
PySophus
Python bindings for Sophus Lie Algebra C++ Library
Stars: ✭ 52 (+205.88%)
Mutual labels:  python-wrapper

A Python Wrapper of Stanford Chinese Segmenter

Prerequisite

  • Java 8

Installation

pip install git+https://github.com/banyh/PyStanfordNLP

Usage

from stanford_segmenter import Segmenter
from stanford_postagger import Postagger

seg = Segmenter()  # the only supported language is 'zh'
pos = Postagger()  # supported language: 'zh', 'en', 'fr', 'de', 'es'

seg.segment('你昨天去電影院了嗎?')
# ['你', '昨天', '去', '電影院', '了', '嗎', '?']
pos.postag('你 昨天 去 電影院 了 嗎 ?')
# '你#PN 昨天#NT 去#VV 電影院#VV 了#AS 嗎#NN ?#PU '
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].