-
Notifications
You must be signed in to change notification settings - Fork 15
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
Better orion language detection #337
Better orion language detection #337
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove src/utils/customMigrations/setOrionLanguage.ts
file, as it's no longer used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks good.
As Dmitry raised question about the QA, how we are going to ensure that the detections are correct? Did you do some testing on small set of data?
src/model/OrionOffchainCursor.ts
Outdated
@@ -0,0 +1,20 @@ | |||
import { Entity, Column, PrimaryColumn } from 'typeorm' | |||
|
|||
@Entity() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to create this in admin schema
@Entity() | |
@Entity({ schema: 'admin' }) |
FYI,
|
Found an issue
For some of the text the language is not returned |
* New model to track orion language processing * New function to detect language * New custom migration * Add cursor tracker and video orion language to offchain export * Running `custom-migration` command * Add manger to trigger video language updates * Adjust orion video language manager to support video update * Revert "Running `custom-migration` command" This reverts commit 71c4997. * Second run of `create-migrations` command * CR fixes * move 'orion_offchain_cursor' table to admin schema * bump package version and add change log * fix: bug in case detected language is undefined --------- Co-authored-by: Zeeshan Akram <97m.zeeshan@gmail.com>
No description provided.