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']}

Disjunction

modifier.disjunction('en')

['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 Distribution

msiaLex-0.2.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file msiaLex-0.2.1.tar.gz.

File metadata

  • Download URL: msiaLex-0.2.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.5

File hashes

Hashes for msiaLex-0.2.1.tar.gz
Algorithm Hash digest
SHA256 981b567c68a57e2f0bea159d621b023ff8e82988b62a9a3221629a4858e96c1f
MD5 9999645db6988cdc630cee9ee4bf47fd
BLAKE2b-256 16f62f6d319c889734d280cb1d9ec9401dd4d140e1d58acf0fd1848ef8d9b60c

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