Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@hkiyomaru hkiyomaru released this 24 Feb 07:36

This is the release note of v4.0.0.

Added

  • Introduced the class BasicPhrase, which is the wrapper of the classpyknp.Tag. According to this change, we removed the class Content.
  • Introduced the parameters logging_level and logger to EventGraph.build(), EventGraph.load(), and EventGraphVisualizer.make_image(). According to this change, we removed the attribute verbose from them.
  • Introduced a function to save EventGraph as a binary file. According to this change, we removed EventGraph.output_json().

Changed

  • Improved normalization rules.
  • Quarried the class Features from event.py.
  • Revised the naming of the following functions:
    • EventGraph.output_json() -> EventGraph.save()
  • Revised the naming of the following attributes:
    • rep -> reps
    • rep_with_mark -> reps_with_mark
    • normalized_rep -> normalized_reps
    • normalized_rep_with_mark -> normalized_reps_with_mark
    • standard_rep -> standard_reps
    • content_reps -> content_rep_list
    • clausal_modifier_event_ids -> adnominal_event_ids
    • complementizer_event_ids -> sentential_complement_event_ids
    • feature -> features