Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature improve excerpt iterator #2304

Open
wants to merge 4 commits into
base: integration
Choose a base branch
from

Conversation

austin007008
Copy link
Collaborator

No description provided.

@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch from f56d550 to 7327e3d Compare March 13, 2024 12:43
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch from 1c16d03 to b9c0bd9 Compare March 18, 2024 15:50
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 4 times, most recently from 2748049 to b00394a Compare March 26, 2024 12:37
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 8 times, most recently from 216f3c5 to f832805 Compare April 9, 2024 18:08
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 5 times, most recently from 219b1e1 to 2f1f8b2 Compare April 16, 2024 19:08
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 4 times, most recently from d9b6f68 to f25999b Compare May 8, 2024 16:46
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 3 times, most recently from 141dd68 to 1a90a71 Compare May 15, 2024 13:09
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 3 times, most recently from b165000 to 38ac57d Compare May 23, 2024 12:33
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 4 times, most recently from 1a13f6f to 8ee0f26 Compare May 31, 2024 13:49
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 4 times, most recently from 8da2efd to 592611a Compare June 25, 2024 13:20
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch 5 times, most recently from 611153a to c8692f8 Compare June 28, 2024 16:20
* @param start
* the index in the array where we want to start setting values to null at
*/
private void trimBeginning(String[] termsToOutput, int beforeIndex, float start) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should start be int rather than float?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

possibly. I don't remember why I made it a float in the first place. Just have to cast the computation for "start" to an int to get everything to compile still.

* @param start
* the index in the array where we want to start setting values to null at
*/
private void trimEnd(String[] termsToOutput, int afterIndex, float start) {
Copy link
Collaborator

@keith-ratcliffe keith-ratcliffe Jun 28, 2024

Choose a reason for hiding this comment

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

Should start be int rather than float?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

possibly. I don't remember why I made it a float in the first place. Just have to cast the computation for "start" to an int to get everything to compile still.

@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch from f9eb209 to b718ef3 Compare July 9, 2024 18:32
documentation pt1

format

documentation pt2

format

set retry to 0 and add log for testing

wordsandscores test

testing

format

fix documentation and add new method

more tests, fix edge case, documentation

test, log, tostring

more methods, more tests

add getArrSize

pass skips on end of cq

squash me

squash me

working except for excerptTest

fix test

squash me

fix before/after

method not cq

upgrade retry

change start offset logic

quicker fail and retry

make scores output more user readable

change output score to 0-1

brackets around whole phrase and add override

scores, no scores, onebest excerpt

clean and test

ln for score and fix skippedword return

one best eps fix

remove google.sets from excerpt test

fix brackets around all phrases in excerpts

clean
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch from b718ef3 to 8958c0e Compare July 11, 2024 12:52
@austin007008 austin007008 force-pushed the feature-improve-excerpt-iterator branch from 8958c0e to 10bbe6a Compare July 11, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants