FolkScope icon indicating copy to clipboard operation
FolkScope copied to clipboard

No rel-freq.txt saved after running pattern_miner.py

Open stayones opened this issue 1 year ago • 3 comments

  1. Data file used: clothing_populated.csv
  2. Package difference: StandfordCoreNLP-4.5.4
  3. Script running: bash scripts/run_mining.sh

Hi I encountered the error:

Traceback (most recent call last): File "../FolkScope/src/pattern/pattern_merge.py", line 28, in <module> for pattern, cnt in zip( ValueError: not enough values to unpack (expected 2, got 1)

After looking at it, I think this issue is caused because for the relation that have some patterns mined, the rel-freq.txt files are empty. And it's always: 0 patterns after removing redundancies image

stayones avatar Aug 20 '23 10:08 stayones