Oracle Text: How to add/get stopwords list when using Oracle Text world lexer?

I have a use case that we currently use Oracle Text World Lexer to index and search multilingual documents. As we know that World Lexer does the language auto detection. I would like to know the following questions:
Is there anyway I can get the current document's language that Oracle Text detected?
Is there anyway to get the language's stopwords list?
Any thoughts and points will be appreciated.
- Charles

1. If you're using 12c, you can use ctx_doc.policy_languages. (https://docs.oracle.com/database/121/CCREF/cdocpkg011.htm#CCREF24102)
2. If you want multiple stoplists based on each document's language, you have to use the multi-lexer. For world_lexer, there is one stoplist; since the stoplists are somewhat dynamic (you can add but not remove them), the most accurate way to fetch the list is using ctx_report.describe_index or ctx_report.create_index_script and parse the report.

Similar Messages

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • Why getting WebLogic Connection when using Oracle Driver?

    Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
    when retrieving a connection out of the connection pool, via my JDBC TX DataSource,
    when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver. Seems
    that since I'm using the Oracle driver I should not be getting back this WebLogic
    connection.
    Any insight is appreciated :)
    thanks,
    Dan

    innumonenu wrote:
    Even we are facing the same problem of ClassCastException when we try to cast to
    OracleCallableStatement from the weblogic pool made of Oracle JDBC driver.
    What is the URL which explains,
    "Our wrappers do provide access to various non-standard
    Oracle methods, and we document how to cast (to our concret class or to an interface
    we define) in order to access these calls." as said by Joseph.http://e-docs.bea.com/wls/docs70/jdbc/thirdparty.html#1043705
    >
    >
    "Dan Branley" <[email protected]> wrote:
    Joseph,
    Thanks for the insight. This answers a lot of questions. I appreciate
    the thorough
    explanation. Your assumption is correct. I am trying to use an Oracle
    extension,
    specifically I need to call PreparedStatement.setBlob() passing an instance
    of
    an Oracle BLOB.empty_lob(). I'll take a look at the WLS documentation
    for an
    alternative.
    thanks,
    Dan Branley
    Joseph Weinstein <[email protected]> wrote:
    We never give application code direct access to pooled connections.We
    always
    supply a wrapper class. These wrapper classes have various extra functionality,
    such as cooperating under-the-covers with the transaction coordinator
    to provide
    EJB/UserTransaction transactional semantics/guarantees, regardless of
    the number
    of EJBs involved in a given transaction. For instance, when in an EJB/UserTransaction,
    our wrapper will cheerfully ignore if application code calls a Connection.commit().
    The
    application code has no idea really when the transaction is done and
    commitable, only
    the transaction coordinator does. Most simply, our pools guarantee that
    whatever
    application reserves a pool connection will have sole use of it until
    they close the connection
    to return it to the pool. If we allowed direct access to a pooled connection,
    one application
    could cache the reference, and re-use it later when we presumed to allow
    another user to
    use it from the pool. Some of our wrapper objects are RMI-enabled so
    they work in
    external client JVMs and will do JDBC over the wire to the weblogicserver
    and it's
    pool connections. This wayt application code need not change to work
    inside or
    outside weblogic.
    I suspect this question is because you want to use some of Oracle's
    non-standard
    extensions to JDBC. Our wrappers do provide access to various non-standard
    Oracle methods, and we document how to cast (to our concret class or
    to an interface we
    define) in order to access these calls. Not all calls can be successfully
    proxied by our wrappers
    because some Oracle methods (which claim to take java.sql object asarguments)
    actually
    require oracle specific classes, and reject our proxies, even if they
    are standard JDBC objects.
    Joe
    Dan Branley wrote:
    Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
    when retrieving a connection out of the connection pool, via my JDBCTX DataSource,
    when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver.Seems
    that since I'm using the Oracle driver I should not be getting backthis WebLogic
    connection.
    Any insight is appreciated :)
    thanks,
    Dan

  • Please can you explain how to add adobe flash player when using Mozilla ?

    I cannot view videos without them constantly stopping.
    I have been told that I need to use adobe flash player.
    When I try to load this, though, the download will not work.
    A message apprears to say I must turn Mozilla Firefox off.
    Please can you explain how I can get around this ?
    Please note, I am not very good with computers, so it would be good if you can make the instructions as basic as possible.
    Many thanks !
    Trev Stafford
    <sub>edit: removed your mail address from public display, since the only thing it will attract are spam bots. you will be notified per mail once somebody replies to the thread. (philipp)</sub>

    Download the non-IE version of Adobe Flash for your system here:
    https://support.mozilla.org/en-US/kb/keep-flash-up-to-date-and-troubleshoot-problems
    Close the browser, and temporarily disable your anti-virus
    Install the non-IE version of Adobe Flash
    Re-enable anti-virus
    See that you have the current version here
    http://www.adobe.com/software/flash/about/
    replaced unofficial third-party download site link.

  • HT204291 How does one get full screen when using air play on my tv from my iPad,thanks in advance

    How does one get a full screen when using air play on my tv when I'm mirroring,.? Thanks in advance

    The iPad's display is 4:3, so it cannot fill your TV screen, which is 16:9
    The only way is to change your TV settings and stretch the image.

  • How to add 'Save Layout' button when use OO ALV?

    thx

    Hi,
    Try passing this parameter :
    <b>
    wa_variant-report     = sy-repid.</b>
    *-- Display Report
      CALL METHOD o_alvgrid->set_table_for_first_display
        EXPORTING
          it_toolbar_excluding    = lt_excl_func
    <b>      is_variant                   = wa_variant</b>
          i_save                        = c_a
          is_layout                    = p_layout
        CHANGING
          it_outtab                     = p_output[]
          it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                         = 2
          too_many_lines                      = 3
          OTHERS                               = 4.
      IF sy-subrc <> 0.
        MESSAGE i050 WITH text-004.    " Error in Displaying
        LEAVE LIST-PROCESSING.
      ENDIF.

  • How did I get better compression when using GPU acceleration?

    Hello,
         I was just making a short, 1:12-long video encoded as H.264 in an MP4 wrapper. I had edited the video in Premiere Pro CC, and was exporting through Adobe Media Encoder at a framerate of 29.97 FPS and a resolution of 1920x1080. I wanted to do a test to see how much GPU acceleration benefits me. So, I ran two different tests, one with and one without. The one with GPU acceleration finished in 2:09. The one without it took 2:40, definately enough to justify using GPU acceleration (my GPU is an NVidia GTX 660 Ti which I have overclocked). I am sure my benefits would be even greater in most videos I make, since this one had relatively few effects.
    However, I checked the file sizes out of curiosity, and found that the one made with GPU acceleration was 175 MB in size, and the other was 176 MB. While the difference is pretty small, I am wondering why it exists at all. I checked the bitrates, and the one made with GPU acceleration is 19,824 KB/s, whereas the other is 19,966 KB/s. I used the exact same presets for both. I even re-encoded the videos again just to test it and verify the results, and the second test confirms what the first showed.
    So, what I am wondering is: What is it that made this possible, and could this be used to my advantage in future productions?
    In case it is in any way relevant, these are my computer's specifications:
    -Hardware-
    Case- MSI Interceptor Series Barricade
    Mainboard- MSI Z77A-G45
    Power Supply Unit- Corsair HX-750
    Processor- Third-Generation Quad-Core Intel Core i7-3770K
    Graphics Card- ASUS NVidia GeForce GTX 660 Ti Overclocked Edition (with two-gigabytes of dedicated GDDR5 video memory and the core overclocked to 1115 MHz)
    Random Access Memory- Eight gigabytes of dual-channel 1600-MHz DDR3 Corsair Dominator Platinum Memory
    Audio Card- ASUS Xonar DSX
    System Data Drive- 128-gigabyte Samsung 840 Pro Solid-State Drive
    Storage Data Drive- One-terabyte, 7200 RPM Western Digital Caviar Black Hard Disk Drive
    Cooling System- Two front-mounted 120mm case fans (intake), one top-mounted 120mm case fan (exhaust), and a Corsair Hydro H60 High-Performance Liquid CPU Cooler (Corsair SP120 rear exhaust fan)
    -Peripherals-
    Mouse- Cyborg R.A.T. 7
    Keyboard- Logitech G110
    Headset- Razer Tiamat Elite 7.1
    Joystick- Saitek Cyborg Evo
    -Software-
    Operating System- Windows 8.1 64-bit
    DirectX Variant- DirectX 11.1
    Graphics Software- ASUS GPU Tweak
    CPU Temperature/Usage Monitoring Software- Core Temp
    Maintainance Software- Piriform CCleaner and IObit Smart Defragmenter
    Compression Software- JZip
    Encryption Software- AxCrypt
    Game Clients- Steam, Origin, Games for Windows LIVE, and Gamestop
    Recording Software- Fraps and Hypercam 2
    Video Editing Software- Adobe Premiere Pro CC
    Video Compositing/Visual Effects Software- Adobe After Effects CC
    Video Encoding Software- Adobe Media Encoder
    Audio Editing/Mixing Software- Adobe Audition CC
    Image Editing/Compositing Software- Adobe Photoshop CC
    Graphic Production/Drawing Software- Adobe Illustrator CC

    As I said in my original post, I did test it again. I have also ran other tests, with other sequences, and they all confirm that the final file is smaller when GPU acceleration is used.
    Yes, the difference is small but I'm wondering how there can even be a variable at all. If you put a video in and have it spit it out, then do that again, the videos should be the same size. It's a computer program, so the outputs are all based on variables. If the variables don't change, the output shouldn't either. For this reason, I cannot believe you when you say "I can, for example, run exactly the same export on the same sequence more than once, are rarely are they identical in export times or file size."

  • How to perform a character protect when using include text in Script form?

    In my main window I have code as below:
    INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE EN
    INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE ZH
    There is nothing wrong with language zh but...
    For English,Every word at the end of line was splited
    EG:In text,It should be "I hate Sap script"
    But it is "I hate sap scr
                 ipt"
    I noticed that there is a protect in character which is used to prevent this,But text included is a command so I can't give them a character format.In default paragraph format there is only "para protect" which can't protect word but paragraph...
    I don't want to code in abap because I have static text and included long text appear alternatively,if coding,I will use so many text element one by one to loop the tdlines...
    So,If anyone can help me?
    Thanks~

    Thanks but
    If append tdlines...It would be
    /e Text element1
    xxxxxxxxxx
    /e tdlines1
    loop tdlines
    /e text element2
    xxxxxxx
    /e tdlines2
    loop tdlines
    /e text element3
    xxxxxx
    /e tdlines3
    loop tdlines
    Too many text element....
    Is there any other solution...?

  • How to add field length constraints when using an existing JavaBean model

    Within our current project we used a O/R mapping tool to generate our JavaBean model. For e.g.
    <b>public class Person{
      private String name; ...getName() ...setName(...)
    }</b>
    The whole model is used within our Web Dynpro project. Now it's a requirement to implement field length constraints. Normally this is no problem using ISimpleType like the following:
    <b>attributeInfo = wdContext.nodePerson().getNodeInfo().getAttribute
    (IPrivate...IPersonElement.NAME);
    ISimpleTypeModifiable type = attributeInfo.getModifiableSimpleType();
    type.setLength(60);</b>
    But we've got an runtime exception that it is not allowed to modify the models datatype:
    com.sap.tc.webdynpro.progmodel.context.ContextException: AttributeInfo
    <b>(Basics.Person.name): must not modify the datatype of a mapped attribute</b>
        at
    com.sap.tc.webdynpro.progmodel.context.AttributeInfo.getModifiableSimpleType
    (AttributeInfo.java:337)
    The question is how could a workaround look like. Or is there nothing like that and we have to build a dictionary type tier upon our JavaBean model. Any ideas ?
    thx,
    s.w.

    Sabine,
    You may:
    1. Import JavaBeans model
    2. Create DDIC type with necessary constarints (string-based, max. length 60)
    3. Open editor for target model class and change type of property.
    See my blog /people/valery.silaev/blog/2005/06/29/apojo--almostplain-old-java-objects-as-model (section "Tweaking model classes") for details.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • HOW TO ADD GROUP BY CLAUSE WHEN USING Jbo:Datatable

    Would like to know if there are any provisions for adding a Group by clause so the data shown using DataTable Component cn be grouped.
    eg:
    Currently using DataTable component shows data as shown below.
    Dept Name
    10 ABC
    10 DEF
    10 PQR
    20 XYZ
    20 QQQ
    Can this be done as shown bewlow
    Dept Name
    10 ABC
    DEF
    PQR
    20 XYZ
    QQQ
    Thanks

    Hi Sashi,
    For a bc4j view object, the shape of the result set needs to be consistent. So, there can not be a groupby directly in the result set.
    However, that does not prevent you from inserting a calculated column that performs a similar calculation.
    Another mechanism might be to consider a master detail arrangement of the views where the master contains an aggregation of data from its children. You are then free to access and display this data as you choose.
    Hope this helps,
    Pete

  • How can I get a list of database names from environment

    Hi,
    How can I get a list of database names from environment.
    I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
    I use java interface, is it supported?
    Thanks.

    Hello,
    I don't know if it would work for you, but have you checked the db_archive utility at:
    http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
    Check the -s option.
    Thanks,
    Sandra

  • How can I get a list of all workbooks

    Can anybody please tell me how can I get a list of all my workbooks that are on my Oracle Discoverer database without having to manually write them down? I am using Oracle Database 10g Enterprise Edition.

    Hi,
    To implement the EUL Management BA follow metalink NOTE:556932.1
    there are very simple steps you need to perform in order to use it

  • How can I get a list of active savepoints for the current session?

    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"
    So how can I get a list of active savepoints for the current session?
    Could you please also let me know if there is any better way to debug this issue.
    Appreciate any quick response as the issue is very critical.
    Thanks,
    Soma

    user776523 wrote:
    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"It sounds like there's an execution path in the code where the SAVEPOINT is never issued.
    There is no way to get a list of active savepoints. Is this your code or a "canned" procedure? If it is your code you can go through the code looking for answers, possibly tracing execution using DBMS_OUTPUT.PUT_LINE or writing messages to a log table. If its a "canned" procedure you may need to open an SR with Oracle

  • How do i get a list of users

    How do i get a list of user out of OID and into portal 9.0.2 using a plsql portlet
    I want to create a list of users as portlet and display their details.
    any help
    cheers

    You need to use dbms_ldap. And only it. SELECT * from wwsec_person$ is not apply to 9.0.2 release.
    The sample you can find at Oracle Internet Directory Application Developers Guide Release 3.0.1 or later.

  • How do I get a list of past transactions?  My account may have been hacked.

    Hi,
    I just noticed that someone has charged up almost $300 in charges in my iTunes account. This could be my son, or someone may have hacked in. How do I get a listing of what these charges were for?
    Thanks,
    Dan

    Did you notify your credit card company/bank and dispute these charges?
    Did you remove yoru CC info from the iTunes store?
    I leave my CC info blank until I want to make a purchase, I add it, make the purchase then immediately remove it.
    The iphone goes on ebay today along with all the apps.
    Why?
    Note that the apps cannot be resold.
    They are linked directly to the iTunes account they were purchased with.
    Note that simply getting rid of th eiPhone will not prevent your son (or whoever) from using the iTnues acount to purchase

Maybe you are looking for

  • Custom Map using latitude and longitude data points

    Hi, I am new to Apex and I want to lost custom data points using latitude and longitude data points. I have seen posts referring to the chart example (http://apex.oracle.com/pls/apex/f?p=36648:65:2214483882702::NO:::) ; could someone help me with the

  • SAP MDM Vendor email addresses are not in order when sent to SAP R/3

    Hi Experts, We were trying to maintain vendor email addresses in this order in SAP MDM: E-mail address: massupa@nexus Sequence Number: 001 E-mail address: win@nexus Sequence Number: 002 E-mail address: satita@nexus Sequence Number: 003 But when savin

  • Ipod touch is not responsive to anything!

    My iPod touch 3g has a blank white screen and is not responding to anything. I have tried turning the device of and I have tried puting it into the computer but nothing happened. What do i do??

  • Using two Button classes for single Button control MFC

    Hi, Here is my problem: I have a VC++ MFC dialog based application. There I am adding a Button to my dialog by just drag and drop from the tool box. I am also having a MyCustomButton.dll to give new looks to the button. Inside MyCustomButton.dll, MyC

  • I need step-by-step procedure for ESS/MSS Security??

    Hi, I need step by step procedure for ESS/MSS security. I know the Structural .Authorization , but i dont know how this ESS/MSS security is. Could you please help me with any step by step notes of your personal. Please i dont want any best practices