Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SimpleVocabulary.fromItems() accept triples to assign titles
Fixes #18 Some other vocabulary fixes while I was in there: - Make TreeVocubalary.fromDict only actually assign titles when a title is given. This makes it consistent with SimpleVocubalary.fromItems(). - Give equality and hash methods to SimpleTerm and SimpleVocubalary. This was a confusing stumbling block in the implementation of #51.
- Loading branch information
Showing
4 changed files
with
192 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters