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

Uploaded Python 3

File details

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

File metadata

  • Download URL: msiaLex-0.3.9.13-py3-none-any.whl
  • Upload date:
  • Size: 95.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for msiaLex-0.3.9.13-py3-none-any.whl
Algorithm Hash digest
SHA256 3719799b5079a129c19b990d019e1bc7b003534f4aba3d70c59cdef7f284dc09
MD5 9c76e5810ac9eada9eec4cead7e33bc7
BLAKE2b-256 66ed6b096c9c0d6acd85c121588f87d57c90e5b508a04655bd2adab9f7965739

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