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 Distribution

msiaLex-0.2.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

msiaLex-0.2.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: msiaLex-0.2.2.tar.gz
  • Upload date:
  • Size: 5.0 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.2.tar.gz
Algorithm Hash digest
SHA256 eac1cd1ce93eb19a4a6c01a17ef1fda2964cb6da1bb6b1ca738236ef6352f475
MD5 d4dcceb26128ec7d8c06d89a81791fa4
BLAKE2b-256 e966d8ad783795d5cb2739b86891c998f60738f0fc2b1647e7fcaf99704711f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msiaLex-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4be91da15462cad03f3393d5dc7096735afb8a897616b8f08dd81845b517117
MD5 b799998ff082576008d1996de19fce8f
BLAKE2b-256 004a0c50e273834de7456a50259ae48c153eccb9330bb71d96a8a2d7ca4c9dae

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