CLMBRs / ultk

A library for research in unnatural language semantics
GNU General Public License v3.0
6 stars 2 forks source link

use unsafe_hash in Expression and GrammaticalExpression #29

Closed nathimel closed 3 months ago

nathimel commented 3 months ago

Both of these objects need to be both mutable and hashable.

Mutable because of mutations during genetic algorithm, and because of adding children in parsing.

Hashable: https://github.com/CLMBRs/ultk/blob/main/src/ultk/effcomm/agent.py#L30).