Skip to main content

Malaysia Lexicon

Project description

msiaLex

msiaLex consists of different types of modifiers from three languages (e.g. English, Bahasa Melayu, Chinese)

Installation

pip install msiaLex

Import package

from msiaLex import modifier

Language code

Language code are required to serve as parameter for below functions in order to return modifiers for specific languages

  • English : en
  • Bahasa Melayu : zsm
  • Chinese : zh

Negation

modifier.negation('en')

['no', 'not', 'none', 'nobody', 'nothing', 'neither', 'never', 'cannot']

Intensifier

High and low intensifier are returned from English language

modifier.intensifier('en')

{'high': ['absolutely', 'completely', 'extremely', 'highly', 'rather', 'really', 'so', 'too', 'totally', 'utterly', 'very', 'much', 'more', 'quite', 'most', 'super'], 'low': ['little', 'less']}

Conjunction

modifier.conjunction('en')

{'contrasting': ['but', 'however', 'in contrast', 'instead', 'whereas', 'except that', 'on the contrary', 'conversely', 'nevertheless', 'although', 'alternatively']}

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msiaLex-0.3.0-py3-none-any.whl (79.6 kB view details)

Uploaded Python 3

File details

Details for the file msiaLex-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: msiaLex-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 79.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.5

File hashes

Hashes for msiaLex-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b072ac1c9f8d47236ca0e759f641efaadf9a7fdd864da0c79c1700e4827fa76
MD5 d06fab4d25f57dd26e847bc9995252da
BLAKE2b-256 9f3674da34631aa9a0804a232f0e7195f1579357232199c6de6ff289727b7082

See more details on using hashes here.

Supported by

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