Skip to main content

Having fun with language processing 🐳

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funlp-0.1.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distributions

funlp-0.1.5-py3.7.egg (5.2 MB view details)

Uploaded Source

funlp-0.1.5-py2.py3-none-any.whl (5.2 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file funlp-0.1.5.tar.gz.

File metadata

  • Download URL: funlp-0.1.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for funlp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 97d05c64687cfcc0ee140c5d0061f5c01034ca4a9c3964e96789fad5920747a9
MD5 31b2576f8116fe7bff6093dd8722b5b2
BLAKE2b-256 5c004d62a805c0e46c4511a5a945a1645b145dc2f21d538a2d0ef746ab5f122c

See more details on using hashes here.

File details

Details for the file funlp-0.1.5-py3.7.egg.

File metadata

  • Download URL: funlp-0.1.5-py3.7.egg
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for funlp-0.1.5-py3.7.egg
Algorithm Hash digest
SHA256 e1c06ae57c3965a7e11fb74406507d34040e59b7b7796b9ab35c51dc35e8e22a
MD5 c5f36c269e5ad7762049f4834389a5a8
BLAKE2b-256 6bf2a00a7add036cab102efcab9d4d825a2a0f002c96f3bd968885483e122b28

See more details on using hashes here.

File details

Details for the file funlp-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: funlp-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for funlp-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7e62a1bdac0d998da2338fc39241dfe6f925a0bfc3b48c868985b240dd10777
MD5 033c4e1053ffc38d84ef7e4b9eb569d6
BLAKE2b-256 24166b7b42c9a77f8188e904d8b2ce3b77094c2defac2209757656ab95faac76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page