Skip to main content

Having fun with language processing

Version License pypi downloads GitHub last commit Stars

Installation

pip install funlp

you may want to checkout the version

funlp version

Haha, funlp is now on your environment, having fun with it, enjoy ...

Usage

TextRank4Sentence

from funlp import TextRank4Sentence
import codecs

rank4sent = TextRank4Sentence(use_w2v=False,tol=0.0001)

text = codecs.open('./datasets/input/当前中国经济实现完全数字化,小微企业的投资机会将是蓝海.txt', 'r', 'utf-8').read()
rank4sent.summarize(text, 10)

from funlp import TextRank4Words
import codecs

rank4words = TextRank4Words(tol=0.0001,window=2)

text = codecs.open('../datasets/input/当前中国经济实现完全数字化,小微企业的投资机会将是蓝海.txt', 'r', 'utf-8').read()
rank4words.summarize(text, 10)

Acknowlegements

Metadata

Release files for funlp 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for funlp 0.1.5
File Size Uploaded
funlp-0.1.5.tar.gz 10.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for funlp 0.1.5
File Interpreter ABI Platform
funlp-0.1.5-py3.7.egg Legacy Egg format - - Details
funlp-0.1.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.3 MB

Release files / funlp-0.1.5.tar.gz

Download URL funlp-0.1.5.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
97d05c64687cfcc0ee140c5d0061f5c01034ca4a9c3964e96789fad5920747a9
BLAKE2b-256 checksum
How to use checksums
5c004d62a805c0e46c4511a5a945a1645b145dc2f21d538a2d0ef746ab5f122c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release files / funlp-0.1.5-py3.7.egg

Download URL funlp-0.1.5-py3.7.egg
Size 5.2 MB
Tags Egg
SHA-256 checksum
How to use checksums
e1c06ae57c3965a7e11fb74406507d34040e59b7b7796b9ab35c51dc35e8e22a
BLAKE2b-256 checksum
How to use checksums
6bf2a00a7add036cab102efcab9d4d825a2a0f002c96f3bd968885483e122b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release files / funlp-0.1.5-py2.py3-none-any.whl

Download URL funlp-0.1.5-py2.py3-none-any.whl
Size 5.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c7e62a1bdac0d998da2338fc39241dfe6f925a0bfc3b48c868985b240dd10777
BLAKE2b-256 checksum
How to use checksums
24166b7b42c9a77f8188e904d8b2ce3b77094c2defac2209757656ab95faac76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.1.5 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page