sow-reap-paraphrasing icon indicating copy to clipboard operation
sow-reap-paraphrasing copied to clipboard

bash create_reap_data.sh failed with print (-1,)

Open linhaow opened this issue 2 years ago • 2 comments

bash create_reap_data.sh failed with print (-1,) in custom data

linhaow avatar Feb 26 '22 13:02 linhaow

Can you provide a sample of the data on which this failed?

tagoyal avatar Feb 27 '22 22:02 tagoyal

Document: ID=quora.dev.pair.tok (5196 sentences, 54992 tokens)

Sentence #1 (12 tokens): What will happen to America if Donald Trump wins the election ?

Tokens: [Text=What CharacterOffsetBegin=0 CharacterOffsetEnd=4 PartOfSpeech=WP] [Text=will CharacterOffsetBegin=5 CharacterOffsetEnd=9 PartOfSpeech=MD] [Text=happen CharacterOffsetBegin=10 CharacterOffsetEnd=16 PartOfSpeech=VB] [Text=to CharacterOffsetBegin=17 CharacterOffsetEnd=19 PartOfSpeech=TO] [Text=America CharacterOffsetBegin=20 CharacterOffsetEnd=27 PartOfSpeech=NNP] [Text=if CharacterOffsetBegin=28 CharacterOffsetEnd=30 PartOfSpeech=IN] [Text=Donald CharacterOffsetBegin=31 CharacterOffsetEnd=37 PartOfSpeech=NNP] [Text=Trump CharacterOffsetBegin=38 CharacterOffsetEnd=43 PartOfSpeech=NNP] [Text=wins CharacterOffsetBegin=44 CharacterOffsetEnd=48 PartOfSpeech=VBZ] [Text=the CharacterOffsetBegin=49 CharacterOffsetEnd=52 PartOfSpeech=DT] [Text=election CharacterOffsetBegin=53 CharacterOffsetEnd=61 PartOfSpeech=NN] [Text=? CharacterOffsetBegin=62 CharacterOffsetEnd=63 PartOfSpeech=.]

Constituency parse: (ROOT (SBARQ (WHNP (WP What)) (SQ (VP (MD will) (VP (VB happen) (PP (TO to) (NP (NNP America))) (SBAR (IN if) (S (NP (NNP Donald) (NNP Trump)) (VP (VBZ wins) (NP (DT the) (NN election)))))))) (. ?)))

Dependency Parse (enhanced plus plus dependencies): root(ROOT-0, happen-3) nsubj(happen-3, What-1) aux(happen-3, will-2) case(America-5, to-4) nmod:to(happen-3, America-5) mark(wins-9, if-6) compound(Trump-8, Donald-7) nsubj(wins-9, Trump-8) advcl:if(happen-3, wins-9) det(election-11, the-10) dobj(wins-9, election-11) punct(happen-3, ?-12)

linhaow avatar Feb 28 '22 03:02 linhaow