Skip to main content

Japanese Argument Structure Analyzer (ASA) client for Python

Project description

ASA Python

pyversion latest version license

Japanese Argument Structure Analyzer (ASA) client for Python.

For details about ASA, See (Written in Japanese)

Contributions are welcome!


pip install asa


from asa import ASA

# Initialize a ASA instance
asa = ASA(path-to-asa, encoding='utf8')

# Let's analyze a sample sentence
# =>
[{'category': '人',
  'frame': '1-copula',
  'link': 1,
  'main': '彼',
  'part': 'は',
  'tense': 'PRESENT',
  'type': 'elem',
  'wakati': ['彼\tカレ\t\t名詞,代名詞,一般\t\t\tO', 'は\t\t\t助詞,係助詞\t\t\tO']},
 {'category': '人',
  'frame': '0-elem',
  'link': -1,
  'main': '村長',
  'mood': 'INDICATIVE',
  'part': 'だ',
  'polarity': 'AFFIRMATIVE',
  'sentelem': 'PREDICATE',
  'tense': 'PRESENT',
  'type': 'copula',
  'voice': 'ACTIVE',
  'wakati': ['村長\tソンチョウ\t村長\t名詞,一般\t\t\tO', 'だ\t\t\t助動詞\t特殊・ダ\t基本形\tO']}]


MIT License


0.1.2 (2017-09-14)

  • First release.

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

asa-0.1.2.tar.gz (3.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page