Skip to content

Commit

Permalink
fixed the wrong arguments for genpyt
Browse files Browse the repository at this point in the history
  • Loading branch information
yongsun committed Oct 24, 2012
1 parent 6b5fbd9 commit 0cd5646
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/SLM-train.mk
Expand Up @@ -65,7 +65,7 @@ ${TSLM2_TEXT_FILE}: ${DICT_FILE} ${TSLM2_FILE}

lexicon2: ${DICT_FILE} ${TSLM2_FILE}
genpyt -i ${DICT_FILE} -s ${TSLM2_FILE} \
-l ${PYTRIE_LOG_FILE} -o ${PYTRIE_LOG_FILE}
-l ${PYTRIE_LOG_FILE} -o ${PYTRIE_FILE}

trigram_stat: ${TRIGRAM_STAT_FILE}
${TRIGRAM_STAT_FILE}: ${IDS_FILE}
Expand Down Expand Up @@ -94,7 +94,7 @@ ${TSLM3_TEXT_FILE}: ${DICT_FILE} ${TSLM3_FILE}

lexicon3: ${DICT_FILE} ${TSLM3_FILE}
genpyt -i ${DICT_FILE} -s ${TSLM3_FILE} \
-l ${PYTRIE_LOG_FILE} -o ${PYTRIE_LOG_FILE}
-l ${PYTRIE_LOG_FILE} -o ${PYTRIE_FILE}

tmp_clean:
rm -f *.tmp ${IDS_FILE}
Expand All @@ -103,18 +103,18 @@ tmp_clean:

mmseg_bigram: mmseg_ids tslm2_info
mmseg_trigram: mmseg_ids tslm3_info
slm_bigram2: slm2_ids tslm2_info
slm_bigram3: slm3_ids tslm2_info
slm_trigram2: slm2_ids tslm3_info
slm_trigram3: slm3_ids tslm3_info
slm_bigram: slm2_ids tslm2_info
slm_trigram: slm3_ids tslm3_info

bootstrap2:
make mmseg_bigram
make slm_bigram2
make slm_bigram
make slm_bigram
make lexicon2

bootstrap3:
make mmseg_trigram
make slm_trigram3
make slm_trigram
make slm_trigram
make lexicon3

3 comments on commit 0cd5646

@CasperVector
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I don't understand the genpyt modification. Doesn't the -o option indicate the output filename?
See also sunpinyin/build/Makefile at 22afa31d.

@yongsun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CasperVector
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I just found what I myself wrote was incorrect...

Please sign in to comment.