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.2.7-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: msiaLex-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2218acfc3bcc7cce1dd003f6ff7a43b61beb6442ed4b0177f1d49cffa8bb3367
MD5 27fb7b1272b5b50abb96b5cd8bd259ee
BLAKE2b-256 e98b6b16d9813d86bd9256e572fdec9db8e5a53f06f570f3301841b5868a8f4e

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